Updated interfaces Makefile and Makefiles for the libraries that depend on it
parent
40fb68dfd5
commit
2524f19ae0
|
@ -21,6 +21,16 @@ M_DEPS += ../common/up_gt_channel.v
|
||||||
M_DEPS += ../common/up_gt.v
|
M_DEPS += ../common/up_gt.v
|
||||||
M_DEPS += axi_jesd_gt_constr.xdc
|
M_DEPS += axi_jesd_gt_constr.xdc
|
||||||
M_DEPS += axi_jesd_gt.v
|
M_DEPS += axi_jesd_gt.v
|
||||||
|
M_DEPS += ../interfaces/if_gt_qpll.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_qpll_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_pll.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_pll_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx_ksig.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx_ksig_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_tx.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_tx_rtl.xml
|
||||||
|
|
||||||
M_VIVADO := vivado -mode batch -source
|
M_VIVADO := vivado -mode batch -source
|
||||||
|
|
||||||
|
@ -35,8 +45,8 @@ M_FLIST += .Xil
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all clean clean-all
|
.PHONY: all dep clean clean-all
|
||||||
all: axi_jesd_gt.xpr
|
all: dep axi_jesd_gt.xpr
|
||||||
|
|
||||||
|
|
||||||
clean:clean-all
|
clean:clean-all
|
||||||
|
@ -50,5 +60,7 @@ axi_jesd_gt.xpr: $(M_DEPS)
|
||||||
rm -rf $(M_FLIST)
|
rm -rf $(M_FLIST)
|
||||||
$(M_VIVADO) axi_jesd_gt_ip.tcl >> axi_jesd_gt_ip.log 2>&1
|
$(M_VIVADO) axi_jesd_gt_ip.tcl >> axi_jesd_gt_ip.log 2>&1
|
||||||
|
|
||||||
|
dep:
|
||||||
|
make -C ../interfaces
|
||||||
####################################################################################
|
####################################################################################
|
||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
|
@ -11,31 +11,58 @@ M_DEPS += ../scripts/adi_ip.tcl
|
||||||
|
|
||||||
M_VIVADO := vivado -mode batch -source
|
M_VIVADO := vivado -mode batch -source
|
||||||
|
|
||||||
M_FLIST := *.cache
|
M_FLIST := *.log
|
||||||
M_FLIST += *.data
|
|
||||||
M_FLIST += *.xpr
|
|
||||||
M_FLIST += *.log
|
|
||||||
M_FLIST += component.xml
|
|
||||||
M_FLIST += *.jou
|
M_FLIST += *.jou
|
||||||
M_FLIST += xgui
|
M_FLIST += if_gt_qpll.xml
|
||||||
M_FLIST += .Xil
|
M_FLIST += if_gt_qpll_rtl.xml
|
||||||
|
M_FLIST += if_gt_pll.xml
|
||||||
|
M_FLIST += if_gt_pll_rtl.xml
|
||||||
|
M_FLIST += if_gt_rx.xml
|
||||||
|
M_FLIST += if_gt_rx_rtl.xml
|
||||||
|
M_FLIST += if_gt_tx.xml
|
||||||
|
M_FLIST += if_gt_tx_rtl.xml
|
||||||
|
M_FLIST += if_gt_rx_ksig.xml
|
||||||
|
M_FLIST += if_gt_rx_ksig_rtl.xml
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all clean clean-all
|
.PHONY: all clean clean-all
|
||||||
all: interfaces.xpr
|
all: if_gt_qpll.xml if_gt_qpll_rtl.xml if_gt_pll.xml if_gt_pll_rtl.xml if_gt_rx.xml if_gt_rx_rtl.xml if_gt_tx.xml if_gt_tx_rtl.xml if_gt_rx_ksig.xml if_gt_rx_ksig_rtl.xml
|
||||||
|
|
||||||
|
|
||||||
clean:clean-all
|
clean:clean-all
|
||||||
|
|
||||||
|
|
||||||
clean-all:
|
clean-all:
|
||||||
rm -rf $(M_FLIST)
|
rm -rf $(M_FLIST)
|
||||||
|
|
||||||
|
if_gt_qpll.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_qpll_rtl.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_pll.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_pll_rtl.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_rx.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_rx_rtl.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_tx.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_tx_rtl.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_rx_ksig.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
|
if_gt_rx_ksig_rtl.xml:
|
||||||
|
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
||||||
|
|
||||||
interfaces.xpr: $(M_DEPS)
|
|
||||||
rm -rf $(M_FLIST)
|
|
||||||
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
|
|
||||||
|
|
||||||
####################################################################################
|
####################################################################################
|
||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
|
@ -11,6 +11,14 @@ M_DEPS += ../scripts/adi_ip.tcl
|
||||||
M_DEPS += ../common/up_xfer_status.v
|
M_DEPS += ../common/up_xfer_status.v
|
||||||
M_DEPS += util_gtlb_constr.xdc
|
M_DEPS += util_gtlb_constr.xdc
|
||||||
M_DEPS += util_gtlb.v
|
M_DEPS += util_gtlb.v
|
||||||
|
M_DEPS += ../interfaces/if_gt_qpll.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_qpll_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_pll.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_pll_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_tx.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_tx_rtl.xml
|
||||||
|
|
||||||
M_VIVADO := vivado -mode batch -source
|
M_VIVADO := vivado -mode batch -source
|
||||||
|
|
||||||
|
@ -25,8 +33,8 @@ M_FLIST += .Xil
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all clean clean-all
|
.PHONY: all dep clean clean-all
|
||||||
all: util_gtlb.xpr
|
all: dep util_gtlb.xpr
|
||||||
|
|
||||||
|
|
||||||
clean:clean-all
|
clean:clean-all
|
||||||
|
@ -40,5 +48,7 @@ util_gtlb.xpr: $(M_DEPS)
|
||||||
rm -rf $(M_FLIST)
|
rm -rf $(M_FLIST)
|
||||||
$(M_VIVADO) util_gtlb_ip.tcl >> util_gtlb_ip.log 2>&1
|
$(M_VIVADO) util_gtlb_ip.tcl >> util_gtlb_ip.log 2>&1
|
||||||
|
|
||||||
|
dep:
|
||||||
|
make -C ../interfaces
|
||||||
####################################################################################
|
####################################################################################
|
||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
|
@ -9,6 +9,14 @@ M_DEPS := util_jesd_gt_ip.tcl
|
||||||
M_DEPS += ../scripts/adi_env.tcl
|
M_DEPS += ../scripts/adi_env.tcl
|
||||||
M_DEPS += ../scripts/adi_ip.tcl
|
M_DEPS += ../scripts/adi_ip.tcl
|
||||||
M_DEPS += util_jesd_gt.v
|
M_DEPS += util_jesd_gt.v
|
||||||
|
M_DEPS += ../interfaces/if_gt_qpll.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_qpll_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_pll.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_pll_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_rx_rtl.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_tx.xml
|
||||||
|
M_DEPS += ../interfaces/if_gt_tx_rtl.xml
|
||||||
|
|
||||||
M_VIVADO := vivado -mode batch -source
|
M_VIVADO := vivado -mode batch -source
|
||||||
|
|
||||||
|
@ -23,8 +31,8 @@ M_FLIST += .Xil
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all clean clean-all
|
.PHONY: all dep clean clean-all
|
||||||
all: util_jesd_gt.xpr
|
all: dep util_jesd_gt.xpr
|
||||||
|
|
||||||
|
|
||||||
clean:clean-all
|
clean:clean-all
|
||||||
|
@ -38,5 +46,7 @@ util_jesd_gt.xpr: $(M_DEPS)
|
||||||
rm -rf $(M_FLIST)
|
rm -rf $(M_FLIST)
|
||||||
$(M_VIVADO) util_jesd_gt_ip.tcl >> util_jesd_gt_ip.log 2>&1
|
$(M_VIVADO) util_jesd_gt_ip.tcl >> util_jesd_gt_ip.log 2>&1
|
||||||
|
|
||||||
|
dep:
|
||||||
|
make -C ../interfaces
|
||||||
####################################################################################
|
####################################################################################
|
||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
Loading…
Reference in New Issue