aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b7bbe6b..4665f8f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ vendor := xilinx
#device := xc6slx45t
#speedgrade := -3
#device_package := fgg484
+#extra_includes = ./contrib/example-device.mk
# This is the chipset for the Xess Xula 2 dev board
board := xula2
@@ -17,9 +18,12 @@ family := spartan6
device := XC6SLX25
speedgrade := -2
device_package := ftg256
+extra_includes = ./contrib/xula2.mk
+include ./contrib/xula2.mk
part := $(device)$(speedgrade)-$(device_package)
+
# is this build host 64 or 32 bits?
hostbits := 64
iseenv := /opt/Xilinx/14.3/ISE_DS/
@@ -49,5 +53,4 @@ mcs_datawidth := 16
include ./contrib/xilinx.mk
# Example hardware-specific targets (eg, upload via SPI)
-#include ./contrib/example-device.mk
-include ./contrib/xula2.mk
+include $(extra_includes)