66 lines
2.3 KiB
Makefile
66 lines
2.3 KiB
Makefile
####################################################################################
|
|
####################################################################################
|
|
## Copyright 2011(c) Analog Devices, Inc.
|
|
## Auto-generated, do not modify!
|
|
## Fri Apr 3 11:55:07 2015
|
|
####################################################################################
|
|
####################################################################################
|
|
|
|
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/zc702/zc702_system_bd.tcl
|
|
M_DEPS += ../common/fmcomms5_bd.tcl
|
|
M_DEPS += ../../../library/util_dac_unpack/util_dac_unpack.xpr
|
|
M_DEPS += ../../../library/util_adc_pack/util_adc_pack.xpr
|
|
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
|
|
M_DEPS += ../../../library/axi_spdif_tx/axi_spdif_tx.xpr
|
|
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
|
|
M_DEPS += ../../../library/axi_clkgen/axi_clkgen.xpr
|
|
M_DEPS += ../../../library/axi_hdmi_tx/axi_hdmi_tx.xpr
|
|
|
|
C_VIVADO := vivado -mode batch -source
|
|
|
|
F_LIST := `find . -not -name '.' -not -name '*.tcl' -not -name '*.v' -not -name '*.xdc' -not -name '*.vhd' -not -name '*.prj' -not -name 'Makefile' -not -name '*.h' `
|
|
|
|
|
|
.PHONY: all
|
|
all: lib fmcomms5_zc702.xpr
|
|
|
|
|
|
.PHONY: clean
|
|
clean: clean-all
|
|
|
|
|
|
.PHONY: clean-all
|
|
clean-all:
|
|
rm -rf $(F_LIST)
|
|
make -C ../../../library/util_dac_unpack clean
|
|
make -C ../../../library/util_adc_pack clean
|
|
make -C ../../../library/axi_dmac clean
|
|
make -C ../../../library/axi_spdif_tx clean
|
|
make -C ../../../library/axi_ad9361 clean
|
|
make -C ../../../library/axi_clkgen clean
|
|
make -C ../../../library/axi_hdmi_tx clean
|
|
|
|
|
|
fmcomms5_zc702.xpr: lib $(M_DEPS)
|
|
rm -rf $(F_LIST)
|
|
$(C_VIVADO) system_project.tcl >> fmcomms5_zc702_vivado.log 2>&1
|
|
|
|
|
|
.PHONY: lib
|
|
lib:
|
|
make -C ../../../library/util_dac_unpack
|
|
make -C ../../../library/util_adc_pack
|
|
make -C ../../../library/axi_dmac
|
|
make -C ../../../library/axi_spdif_tx
|
|
make -C ../../../library/axi_ad9361
|
|
make -C ../../../library/axi_clkgen
|
|
make -C ../../../library/axi_hdmi_tx
|
|
|
|
####################################################################################
|
|
####################################################################################
|