pzsdr/all: Update Makefile

main
Istvan Csomortani 2015-10-16 11:49:23 +03:00
parent 44568f1f64
commit bbdc693954
3 changed files with 67 additions and 20 deletions

View File

@ -6,14 +6,26 @@
####################################################################################
M_DEPS := system_project.tcl
M_DEPS += ../../scripts/adi_env.tcl-notrace
M_DEPS += ../../scripts/adi_project.tcl-notrace
M_DEPS += ../../scripts/adi_board.tcl-notrace
M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../scripts/adi_project.tcl
M_DEPS += ../../scripts/adi_board.tcl
M_DEPS += system_top.v
M_DEPS += system_constr.xdc
M_DEPS += ../../../library/common/ad_iobuf.v
M_DEPS += ../../pzsdr/rfsom/system_constr.xdc
M_DEPS += ../../common/rfsom/rfsom_system_constr.xdc
M_DEPS += ../../common/pzsdr/pzsdr_system_constr.xdc
M_DEPS += system_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_bd.tcl
M_DEPS += ../common/ccbrk_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_ps7.tcl
M_DEPS += ../../common/xilinx/sys_wfifo.tcl
M_DEPS += ../../fmcomms2/common/fmcomms2_bd.tcl
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.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_upack/util_upack.xpr
M_DEPS += ../../../library/util_wfifo/util_wfifo.xpr
M_VIVADO := vivado -mode batch -source
@ -31,7 +43,7 @@ M_FLIST += .Xil
.PHONY: all lib clean clean-all
all: lib pzslb_rfsom.sdk/system_top.hdf
all: lib pzsdr_ccbrk.sdk/system_top.hdf
clean:
@ -39,14 +51,28 @@ clean:
clean-all:clean
make -C ../../../library/axi_ad9361 clean
make -C ../../../library/axi_dmac clean
make -C ../../../library/axi_jesd_gt clean
make -C ../../../library/util_cpack clean
make -C ../../../library/util_gtlb clean
make -C ../../../library/util_upack clean
make -C ../../../library/util_wfifo clean
pzslb_rfsom.sdk/system_top.hdf: $(M_DEPS)
pzsdr_ccbrk.sdk/system_top.hdf: $(M_DEPS)
rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> pzslb_rfsom_vivado.log 2>&1
$(M_VIVADO) system_project.tcl >> pzsdr_ccbrk_vivado.log 2>&1
lib:
make -C ../../../library/axi_ad9361
make -C ../../../library/axi_dmac
make -C ../../../library/axi_jesd_gt
make -C ../../../library/util_cpack
make -C ../../../library/util_gtlb
make -C ../../../library/util_upack
make -C ../../../library/util_wfifo
####################################################################################
####################################################################################

View File

@ -15,9 +15,10 @@ M_DEPS += ../../../library/common/ad_iobuf.v
M_DEPS += ../../common/pzsdr/pzsdr_system_constr.xdc
M_DEPS += system_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_bd.tcl
M_DEPS += ../common/ccfmc_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_ps7.tcl
M_DEPS += ../../common/xilinx/sys_wfifo.tcl
M_DEPS += ../../fmcomms2/common/fmcomms2_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_ps7.tcl
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../../library/axi_clkgen/axi_clkgen.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
@ -44,7 +45,7 @@ M_FLIST += .Xil
.PHONY: all lib clean clean-all
all: lib ccfmc_pzsdr.sdk/system_top.hdf
all: lib pzsdr_ccfmc.sdk/system_top.hdf
clean:
@ -63,9 +64,9 @@ clean-all:clean
make -C ../../../library/util_wfifo clean
ccfmc_pzsdr.sdk/system_top.hdf: $(M_DEPS)
pzsdr_ccfmc.sdk/system_top.hdf: $(M_DEPS)
rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> ccfmc_pzsdr_vivado.log 2>&1
$(M_VIVADO) system_project.tcl >> pzsdr_ccfmc_vivado.log 2>&1
lib:

View File

@ -6,14 +6,24 @@
####################################################################################
M_DEPS := system_project.tcl
M_DEPS += ../../scripts/adi_env.tcl-notrace
M_DEPS += ../../scripts/adi_project.tcl-notrace
M_DEPS += ../../scripts/adi_board.tcl-notrace
M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../scripts/adi_project.tcl
M_DEPS += ../../scripts/adi_board.tcl
M_DEPS += system_top.v
M_DEPS += system_constr.xdc
M_DEPS += ../../../library/common/ad_iobuf.v
M_DEPS += ../../pzsdr/rfsom/system_constr.xdc
M_DEPS += ../../common/rfsom/rfsom_system_constr.xdc
M_DEPS += ../../common/pzsdr/pzsdr_system_constr.xdc
M_DEPS += system_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_bd.tcl
M_DEPS += ../common/ccpci_bd.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_ps7.tcl
M_DEPS += ../../common/xilinx/sys_wfifo.tcl
M_DEPS += ../../fmcomms2/common/fmcomms2_bd.tcl
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../../library/util_cpack/util_cpack.xpr
M_DEPS += ../../../library/util_upack/util_upack.xpr
M_DEPS += ../../../library/util_wfifo/util_wfifo.xpr
M_VIVADO := vivado -mode batch -source
@ -31,7 +41,7 @@ M_FLIST += .Xil
.PHONY: all lib clean clean-all
all: lib pzslb_rfsom.sdk/system_top.hdf
all: lib pzsdr_ccpci.sdk/system_top.hdf
clean:
@ -39,14 +49,24 @@ clean:
clean-all:clean
make -C ../../../library/axi_ad9361 clean
make -C ../../../library/axi_dmac clean
make -C ../../../library/util_cpack clean
make -C ../../../library/util_upack clean
make -C ../../../library/util_wfifo clean
pzslb_rfsom.sdk/system_top.hdf: $(M_DEPS)
pzsdr_ccpci.sdk/system_top.hdf: $(M_DEPS)
rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> pzslb_rfsom_vivado.log 2>&1
$(M_VIVADO) system_project.tcl >> pzsdr_ccpci_vivado.log 2>&1
lib:
make -C ../../../library/axi_ad9361
make -C ../../../library/axi_dmac
make -C ../../../library/util_cpack
make -C ../../../library/util_upack
make -C ../../../library/util_wfifo
####################################################################################
####################################################################################