From 9445315e6a5cdfb29c4ead73b0fcd4d5fd75b900 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Mon, 14 Jun 2010 12:23:52 -0700 Subject: new make works on ise12 --- usrp2/top/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usrp2/top') diff --git a/usrp2/top/Makefile.common b/usrp2/top/Makefile.common index 02b1b9529..d1c89fdfb 100644 --- a/usrp2/top/Makefile.common +++ b/usrp2/top/Makefile.common @@ -5,9 +5,15 @@ ################################################## # Constants ################################################## +ISE_VER = $(shell xtclsh -h | head -n1 | cut -f2 -d" " | cut -f1 -d.) +ifeq ($(ISE_VER),10) + ISE_EXT = ise +else + ISE_EXT = xise +endif BASE_DIR = $(abspath ..) ISE_HELPER = xtclsh $(BASE_DIR)/tcl/ise_helper.tcl -ISE_FILE = $(BUILD_DIR)/$(TOP_MODULE).ise +ISE_FILE = $(BUILD_DIR)/$(TOP_MODULE).$(ISE_EXT) BIN_FILE = $(BUILD_DIR)/$(TOP_MODULE).bin MCS_FILE = $(BUILD_DIR)/$(TOP_MODULE).mcs -- cgit v1.2.3