diff options
Diffstat (limited to 'usrp2/top')
-rw-r--r-- | usrp2/top/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
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 |