hdlmake- updates

main
Rejeesh Kutty 2016-08-19 15:59:41 -04:00
parent 5c35012f54
commit f697490de6
6 changed files with 26 additions and 46 deletions

View File

@ -38,6 +38,7 @@ all:
-make -C motcon2_fmc all -make -C motcon2_fmc all
-make -C pzsdr all -make -C pzsdr all
-make -C pzsdr1 all -make -C pzsdr1 all
-make -C sdrstk all
-make -C usb_fx3 all -make -C usb_fx3 all
-make -C usdrx1 all -make -C usdrx1 all
@ -74,6 +75,7 @@ clean:
make -C motcon2_fmc clean make -C motcon2_fmc clean
make -C pzsdr clean make -C pzsdr clean
make -C pzsdr1 clean make -C pzsdr1 clean
make -C sdrstk clean
make -C usb_fx3 clean make -C usb_fx3 clean
make -C usdrx1 clean make -C usdrx1 clean
@ -110,6 +112,7 @@ clean-all:
make -C motcon2_fmc clean-all make -C motcon2_fmc clean-all
make -C pzsdr clean-all make -C pzsdr clean-all
make -C pzsdr1 clean-all make -C pzsdr1 clean-all
make -C sdrstk clean-all
make -C usb_fx3 clean-all make -C usb_fx3 clean-all
make -C usdrx1 clean-all make -C usdrx1 clean-all

View File

@ -19,6 +19,7 @@ M_DEPS += ../common/adrv9371x_qsys.tcl
M_DEPS += ../../scripts/adi_env.tcl M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../common/a10gx/a10gx_system_qsys.tcl M_DEPS += ../../common/a10gx/a10gx_system_qsys.tcl
M_DEPS += ../../common/a10gx/a10gx_system_assign.tcl M_DEPS += ../../common/a10gx/a10gx_system_assign.tcl
M_DEPS += ../../../library/altera/common/ad_dcfilter.v
M_DEPS += ../../../library/altera/common/ad_mul.v M_DEPS += ../../../library/altera/common/ad_mul.v
M_DEPS += ../../../library/axi_ad9371/axi_ad9371.v M_DEPS += ../../../library/axi_ad9371/axi_ad9371.v
M_DEPS += ../../../library/axi_ad9371/axi_ad9371_hw.tcl M_DEPS += ../../../library/axi_ad9371/axi_ad9371_hw.tcl
@ -50,7 +51,6 @@ M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v
M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr.v M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr.v
M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr_hw.tcl M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr_hw.tcl
M_DEPS += ../../../library/common/ad_datafmt.v M_DEPS += ../../../library/common/ad_datafmt.v
M_DEPS += ../../../library/altera/common/ad_dcfilter.v
M_DEPS += ../../../library/common/ad_dds.v M_DEPS += ../../../library/common/ad_dds.v
M_DEPS += ../../../library/common/ad_dds_1.v M_DEPS += ../../../library/common/ad_dds_1.v
M_DEPS += ../../../library/common/ad_dds_sine.v M_DEPS += ../../../library/common/ad_dds_sine.v

View File

@ -19,6 +19,7 @@ M_DEPS += ../common/adrv9371x_bd.qsys
M_DEPS += ../../scripts/adi_env.tcl M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../common/a10soc/a10soc_system_bd.qsys M_DEPS += ../../common/a10soc/a10soc_system_bd.qsys
M_DEPS += ../../common/a10soc/a10soc_system_assign.tcl M_DEPS += ../../common/a10soc/a10soc_system_assign.tcl
M_DEPS += ../../../library/altera/common/ad_dcfilter.v
M_DEPS += ../../../library/altera/common/ad_mul.v M_DEPS += ../../../library/altera/common/ad_mul.v
M_DEPS += ../../../library/axi_ad9371/axi_ad9371.v M_DEPS += ../../../library/axi_ad9371/axi_ad9371.v
M_DEPS += ../../../library/axi_ad9371/axi_ad9371_hw.tcl M_DEPS += ../../../library/axi_ad9371/axi_ad9371_hw.tcl
@ -50,7 +51,6 @@ M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v
M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr.v M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr.v
M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr_hw.tcl M_DEPS += ../../../library/axi_jesd_xcvr/axi_jesd_xcvr_hw.tcl
M_DEPS += ../../../library/common/ad_datafmt.v M_DEPS += ../../../library/common/ad_datafmt.v
M_DEPS += ../../../library/common/ad_dcfilter.v
M_DEPS += ../../../library/common/ad_dds.v M_DEPS += ../../../library/common/ad_dds.v
M_DEPS += ../../../library/common/ad_dds_1.v M_DEPS += ../../../library/common/ad_dds_1.v
M_DEPS += ../../../library/common/ad_dds_sine.v M_DEPS += ../../../library/common/ad_dds_sine.v

View File

@ -22,6 +22,7 @@ M_DEPS += ../../common/c5soc/c5soc_system_assign.tcl
M_DEPS += ../../../library/altera/common/ad_cmos_clk.v M_DEPS += ../../../library/altera/common/ad_cmos_clk.v
M_DEPS += ../../../library/altera/common/ad_cmos_in.v M_DEPS += ../../../library/altera/common/ad_cmos_in.v
M_DEPS += ../../../library/altera/common/ad_cmos_out.v M_DEPS += ../../../library/altera/common/ad_cmos_out.v
M_DEPS += ../../../library/altera/common/ad_dcfilter.v
M_DEPS += ../../../library/altera/common/ad_lvds_clk.v M_DEPS += ../../../library/altera/common/ad_lvds_clk.v
M_DEPS += ../../../library/altera/common/ad_lvds_in.v M_DEPS += ../../../library/altera/common/ad_lvds_in.v
M_DEPS += ../../../library/altera/common/ad_lvds_out.v M_DEPS += ../../../library/altera/common/ad_lvds_out.v
@ -58,7 +59,6 @@ M_DEPS += ../../../library/axi_dmac/src_axi_stream.v
M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v
M_DEPS += ../../../library/common/ad_addsub.v M_DEPS += ../../../library/common/ad_addsub.v
M_DEPS += ../../../library/common/ad_datafmt.v M_DEPS += ../../../library/common/ad_datafmt.v
M_DEPS += ../../../library/common/ad_dcfilter.v
M_DEPS += ../../../library/common/ad_dds.v M_DEPS += ../../../library/common/ad_dds.v
M_DEPS += ../../../library/common/ad_dds_1.v M_DEPS += ../../../library/common/ad_dds_1.v
M_DEPS += ../../../library/common/ad_dds_sine.v M_DEPS += ../../../library/common/ad_dds_sine.v

View File

@ -22,6 +22,7 @@ M_DEPS += ../../common/a10gx/a10gx_system_assign.tcl
M_DEPS += ../../../library/altera/common/ad_cmos_clk.v M_DEPS += ../../../library/altera/common/ad_cmos_clk.v
M_DEPS += ../../../library/altera/common/ad_cmos_in.v M_DEPS += ../../../library/altera/common/ad_cmos_in.v
M_DEPS += ../../../library/altera/common/ad_cmos_out.v M_DEPS += ../../../library/altera/common/ad_cmos_out.v
M_DEPS += ../../../library/altera/common/ad_dcfilter.v
M_DEPS += ../../../library/altera/common/ad_lvds_clk.v M_DEPS += ../../../library/altera/common/ad_lvds_clk.v
M_DEPS += ../../../library/altera/common/ad_lvds_in.v M_DEPS += ../../../library/altera/common/ad_lvds_in.v
M_DEPS += ../../../library/altera/common/ad_lvds_out.v M_DEPS += ../../../library/altera/common/ad_lvds_out.v
@ -58,7 +59,6 @@ M_DEPS += ../../../library/axi_dmac/src_axi_stream.v
M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v
M_DEPS += ../../../library/common/ad_addsub.v M_DEPS += ../../../library/common/ad_addsub.v
M_DEPS += ../../../library/common/ad_datafmt.v M_DEPS += ../../../library/common/ad_datafmt.v
M_DEPS += ../../../library/common/ad_dcfilter.v
M_DEPS += ../../../library/common/ad_dds.v M_DEPS += ../../../library/common/ad_dds.v
M_DEPS += ../../../library/common/ad_dds_1.v M_DEPS += ../../../library/common/ad_dds_1.v
M_DEPS += ../../../library/common/ad_dds_sine.v M_DEPS += ../../../library/common/ad_dds_sine.v

View File

@ -9,27 +9,14 @@ M_DEPS += system_top.v
M_DEPS += system_project.tcl M_DEPS += system_project.tcl
M_DEPS += system_constr.xdc M_DEPS += system_constr.xdc
M_DEPS += system_bd.tcl M_DEPS += system_bd.tcl
M_DEPS += ../common/ccbrk_bd.tcl M_DEPS += ../scripts/adi_project.tcl
M_DEPS += ../../scripts/adi_project.tcl M_DEPS += ../scripts/adi_env.tcl
M_DEPS += ../../scripts/adi_env.tcl M_DEPS += ../scripts/adi_board.tcl
M_DEPS += ../../scripts/adi_board.tcl M_DEPS += ../../library/xilinx/common/ad_iobuf.v
M_DEPS += ../../fmcomms2/common/fmcomms2_bd.tcl M_DEPS += ../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../common/xilinx/sys_wfifo.tcl M_DEPS += ../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../common/pzsdr/pzsdr_system_ps7.tcl M_DEPS += ../../library/util_cpack/util_cpack.xpr
M_DEPS += ../../common/pzsdr/pzsdr_system_constr.xdc M_DEPS += ../../library/util_upack/util_upack.xpr
M_DEPS += ../../common/pzsdr/pzsdr_system_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_lvds_system_constr.xdc
M_DEPS += ../../common/pzsdr/pzsdr_bd_system_constr.xdc
M_DEPS += ../../../library/xilinx/common/ad_iobuf.v
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../../library/axi_gpreg/axi_gpreg.xpr
M_DEPS += ../../../library/axi_jesd_gt/axi_jesd_gt.xpr
M_DEPS += ../../../library/util_cpack/util_cpack.xpr
M_DEPS += ../../../library/util_gtlb/util_gtlb.xpr
M_DEPS += ../../../library/util_tdd_sync/util_tdd_sync.xpr
M_DEPS += ../../../library/util_upack/util_upack.xpr
M_DEPS += ../../../library/util_wfifo/util_wfifo.xpr
M_VIVADO := vivado -mode batch -source M_VIVADO := vivado -mode batch -source
@ -50,7 +37,7 @@ M_FLIST += *.ip_user_files
.PHONY: all lib clean clean-all .PHONY: all lib clean clean-all
all: lib ccbrk_pzsdr.sdk/system_top.hdf all: lib sdrstk.sdk/system_top.hdf
clean: clean:
@ -58,32 +45,22 @@ clean:
clean-all:clean clean-all:clean
make -C ../../../library/axi_ad9361 clean make -C ../../library/axi_ad9361 clean
make -C ../../../library/axi_dmac clean make -C ../../library/axi_dmac clean
make -C ../../../library/axi_gpreg clean make -C ../../library/util_cpack clean
make -C ../../../library/axi_jesd_gt clean make -C ../../library/util_upack clean
make -C ../../../library/util_cpack clean
make -C ../../../library/util_gtlb clean
make -C ../../../library/util_tdd_sync clean
make -C ../../../library/util_upack clean
make -C ../../../library/util_wfifo clean
ccbrk_pzsdr.sdk/system_top.hdf: $(M_DEPS) sdrstk.sdk/system_top.hdf: $(M_DEPS)
-rm -rf $(M_FLIST) -rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> ccbrk_pzsdr_vivado.log 2>&1 $(M_VIVADO) system_project.tcl >> sdrstk_vivado.log 2>&1
lib: lib:
make -C ../../../library/axi_ad9361 make -C ../../library/axi_ad9361
make -C ../../../library/axi_dmac make -C ../../library/axi_dmac
make -C ../../../library/axi_gpreg make -C ../../library/util_cpack
make -C ../../../library/axi_jesd_gt make -C ../../library/util_upack
make -C ../../../library/util_cpack
make -C ../../../library/util_gtlb
make -C ../../../library/util_tdd_sync
make -C ../../../library/util_upack
make -C ../../../library/util_wfifo
#################################################################################### ####################################################################################
#################################################################################### ####################################################################################