ADD: changes to support the generic board type

This commit is contained in:
Dominik Meyer 2014-02-09 14:20:49 +01:00
parent 9616b0c8aa
commit 3f84d1ded3
2 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,8 @@ ifeq ($(BOARD_TARGET), spartan3e)
else
ifeq ($(BOARD_TARGET), ml505)
UCF=UCF/ML505.ucf
else
UCF=UCF/generic.ucf
endif
endif

View File

@ -6,6 +6,10 @@
include $(MAKEFILES_PATH)/Makefile.boards
export MAKEFILES_PATH
ifndef FPGA
FPGA=$(CONFIG_FPGA_TYPE)
endif
# impact device number for jtag chain
ifndef DEVICE_NR
DEVICE_NR=$(subst ", , $(CONFIG_IMPACT_TARGET))