From a44420fa8febc1f3cf0fb3eeb784f9746a2a6d90 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 23 May 2017 11:11:53 +0200 Subject: [PATCH] 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 --- library/interfaces/Makefile | 42 +------------------------------------ 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/library/interfaces/Makefile b/library/interfaces/Makefile index e7165b29f..33c296d4b 100644 --- a/library/interfaces/Makefile +++ b/library/interfaces/Makefile @@ -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 - - #################################################################################### ####################################################################################