interfaces: Simplify Makefile

All the rules to generate the XML files are the same. Reduce the number of
rules by useing wildcard matching for the rule target.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2017-05-23 11:11:53 +02:00
parent f9057b1825
commit 5ba1c4fef3
1 changed files with 1 additions and 41 deletions

View File

@ -37,48 +37,8 @@ clean:clean-all
clean-all:
rm -rf $(M_FLIST)
if_xcvr_cm.xml:
%.xml:
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
if_xcvr_cm_rtl.xml:
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
if_xcvr_ch.xml:
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
if_xcvr_ch_rtl.xml:
$(M_VIVADO) interfaces_ip.tcl >> interfaces_ip.log 2>&1
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
####################################################################################
####################################################################################