]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - Makefile.am
Add Hantek PSO2020 firmware support
[sigrok-firmware-fx2lafw.git] / Makefile.am
index 30c9c9bb912b995c3abf26771d34d9d2d9448931..9cc9d23e529dde77d02ca41a839e259a79ae4af3 100644 (file)
@@ -46,6 +46,7 @@ dirstamps = \
        hw/cypress-fx2/$(dirstamp) \
        hw/hantek-6022be/$(dirstamp) \
        hw/hantek-6022bl/$(dirstamp) \
+       hw/hantek-pso2020/$(dirstamp) \
        hw/instrustar-isds205b/$(dirstamp) \
        hw/sainsmart-dds120/$(dirstamp) \
        hw/saleae-logic/$(dirstamp) \
@@ -63,6 +64,7 @@ firmware_binaries = \
        hw/cypress-fx2/fx2lafw-cypress-fx2.fw \
        hw/hantek-6022be/fx2lafw-hantek-6022be.fw \
        hw/hantek-6022bl/fx2lafw-hantek-6022bl.fw \
+       hw/hantek-pso2020/fx2lafw-hantek-pso2020.fw \
        hw/instrustar-isds205b/fx2lafw-instrustar-isds205b.fw \
        hw/sainsmart-dds120/fx2lafw-sainsmart-dds120.fw \
        hw/saleae-logic/fx2lafw-saleae-logic.fw \
@@ -98,6 +100,10 @@ hantek_6022bl_headers = $(scope_headers)
 hantek_6022bl_sources = hw/hantek-6022bl/fw.c
 hantek_6022bl_objects = hw/hantek-6022bl/fw.rel
 
+hantek_pso2020_headers = $(scope_headers)
+hantek_pso2020_sources = hw/hantek-pso2020/fw.c
+hantek_pso2020_objects = hw/hantek-pso2020/fw.rel
+
 instrustar_isds205b_headers = $(scope_headers)
 instrustar_isds205b_sources = hw/instrustar-isds205b/fw.c
 instrustar_isds205b_objects = hw/instrustar-isds205b/fw.rel
@@ -247,6 +253,7 @@ hw_sources = \
        hw/cypress-fx2/dscr.a51 \
        hw/hantek-6022be/dscr.a51 \
        hw/hantek-6022bl/dscr.a51 \
+       hw/hantek-pso2020/dscr.a51 \
        hw/instrustar-isds205b/dscr.a51 \
        hw/sainsmart-dds120/dscr.a51 \
        hw/saleae-logic/dscr.a51 \
@@ -261,6 +268,7 @@ dist_noinst_DATA = \
        $(fx2lafw_headers) $(fx2lafw_sources) \
        $(hantek_6022be_headers) $(hantek_6022be_sources) \
        $(hantek_6022bl_headers) $(hantek_6022bl_sources) \
+       $(hantek_pso2020_headers) $(hantek_pso2020_sources) \
        $(instrustar_isds205b_headers) $(instrustar_isds205b_sources) \
        $(sainsmart_dds120_sources) $(sainsmart_dds120_headers) \
        $(yixingdianzi_mdso_sources) $(yixingdianzi_mdso_headers) \
@@ -329,6 +337,7 @@ hw/cwav-usbeezx/dscr.rel: hw/cwav-usbeezx/$(dirstamp) include/dscr.inc
 hw/cypress-fx2/dscr.rel: hw/cypress-fx2/$(dirstamp) include/dscr.inc
 hw/hantek-6022be/dscr.rel: hw/hantek-6022be/$(dirstamp) include/dscr_scope.inc
 hw/hantek-6022bl/dscr.rel: hw/hantek-6022bl/$(dirstamp) include/dscr_scope.inc
+hw/hantek-pso2020/dscr.rel: hw/hantek-pso2020/$(dirstamp) include/dscr_scope.inc
 hw/instrustar-isds205b/dscr.rel: hw/instrustar-isds205b/$(dirstamp) include/dscr_scope.inc
 hw/sainsmart-dds120/dscr.rel: hw/sainsmart-dds120/$(dirstamp) include/dscr_scope.inc
 hw/saleae-logic/dscr.rel: hw/saleae-logic/$(dirstamp) include/dscr.inc
@@ -373,6 +382,9 @@ hw/hantek-6022be/fx2lafw-hantek-6022be.ihx: hw/hantek-6022be/dscr.rel $(hantek_6
 hw/hantek-6022bl/fx2lafw-hantek-6022bl.ihx: hw/hantek-6022bl/dscr.rel $(hantek_6022bl_objects) $(fx2lib_libs)
        $(AM_V_GEN)$(SDCC) -mmcs51 $(SDCC_LINK_FLAGS_SCOPE) -o $@ hw/hantek-6022bl/dscr.rel $(hantek_6022bl_objects) $(fx2lib_libs)
 
+hw/hantek-pso2020/fx2lafw-hantek-pso2020.ihx: hw/hantek-pso2020/dscr.rel $(hantek_pso2020_objects) $(fx2lib_libs)
+       $(AM_V_GEN)$(SDCC) -mmcs51 $(SDCC_LINK_FLAGS_SCOPE) -o $@ hw/hantek-pso2020/dscr.rel $(hantek_pso2020_objects) $(fx2lib_libs)
+
 hw/instrustar-isds205b/fx2lafw-instrustar-isds205b.ihx: hw/instrustar-isds205b/dscr.rel $(instrustar_isds205b_objects) $(fx2lib_libs)
        $(AM_V_GEN)$(SDCC) -mmcs51 $(SDCC_LINK_FLAGS_SCOPE) -o $@ hw/instrustar-isds205b/dscr.rel $(instrustar_isds205b_objects) $(fx2lib_libs)