pluto_hdl_adi/projects/fmcomms2/zed/Makefile

82 lines
2.6 KiB
Makefile
Raw Normal View History

2015-04-01 20:26:56 +00:00
####################################################################################
####################################################################################
## Copyright 2011(c) Analog Devices, Inc.
## Auto-generated, do not modify!
####################################################################################
####################################################################################
M_DEPS := system_project.tcl
M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../scripts/adi_project.tcl
M_DEPS += ../../scripts/adi_board.tcl
M_DEPS += system_bd.tcl
M_DEPS += ../../common/zed/zed_system_bd.tcl
M_DEPS += ../../common/xilinx/sys_wfifo.tcl
M_DEPS += ../common/fmcomms2_bd.tcl
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
2015-04-07 20:32:01 +00:00
M_DEPS += ../../../library/axi_clkgen/axi_clkgen.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../../library/axi_hdmi_tx/axi_hdmi_tx.xpr
M_DEPS += ../../../library/axi_i2s_adi/axi_i2s_adi.xpr
M_DEPS += ../../../library/axi_spdif_tx/axi_spdif_tx.xpr
2015-07-03 15:08:57 +00:00
M_DEPS += ../../../library/util_cpack/util_cpack.xpr
M_DEPS += ../../../library/util_i2c_mixer/util_i2c_mixer.xpr
2015-07-03 15:08:57 +00:00
M_DEPS += ../../../library/util_upack/util_upack.xpr
M_DEPS += ../../../library/util_wfifo/util_wfifo.xpr
2015-04-01 20:26:56 +00:00
2015-04-07 20:32:01 +00:00
M_VIVADO := vivado -mode batch -source
2015-04-01 20:26:56 +00:00
M_FLIST := *.cache
M_FLIST += *.data
M_FLIST += *.xpr
M_FLIST += *.log
M_FLIST += *.jou
M_FLIST += xgui
M_FLIST += *.runs
M_FLIST += *.srcs
M_FLIST += *.sdk
M_FLIST += .Xil
2015-04-01 20:26:56 +00:00
.PHONY: all lib clean clean-all
all: lib fmcomms2_zed.sdk/system_top.hdf
2015-04-01 20:26:56 +00:00
clean:
rm -rf $(M_FLIST)
2015-04-01 20:26:56 +00:00
clean-all:clean
make -C ../../../library/axi_ad9361 clean
2015-04-07 20:32:01 +00:00
make -C ../../../library/axi_clkgen clean
make -C ../../../library/axi_dmac clean
make -C ../../../library/axi_hdmi_tx clean
make -C ../../../library/axi_i2s_adi clean
make -C ../../../library/axi_spdif_tx clean
2015-07-03 15:08:57 +00:00
make -C ../../../library/util_cpack clean
make -C ../../../library/util_i2c_mixer clean
2015-07-03 15:08:57 +00:00
make -C ../../../library/util_upack clean
make -C ../../../library/util_wfifo clean
2015-04-01 20:26:56 +00:00
fmcomms2_zed.sdk/system_top.hdf: $(M_DEPS)
2015-04-07 20:32:01 +00:00
rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> fmcomms2_zed_vivado.log 2>&1
2015-04-01 20:26:56 +00:00
lib:
make -C ../../../library/axi_ad9361
2015-04-07 20:32:01 +00:00
make -C ../../../library/axi_clkgen
make -C ../../../library/axi_dmac
make -C ../../../library/axi_hdmi_tx
make -C ../../../library/axi_i2s_adi
make -C ../../../library/axi_spdif_tx
2015-07-03 15:08:57 +00:00
make -C ../../../library/util_cpack
make -C ../../../library/util_i2c_mixer
2015-07-03 15:08:57 +00:00
make -C ../../../library/util_upack
make -C ../../../library/util_wfifo
2015-04-01 20:26:56 +00:00
####################################################################################
####################################################################################