aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-10-09 00:22:52 -0400
committerbryan newbold <bnewbold@leaflabs.com>2013-10-09 00:22:52 -0400
commita2bad497c8b01efac1781bd20bc14082dff56b7c (patch)
tree01aee776f221f5f2784304dd5e3cf1ba5b624041
parenta38a10ca87414c88317202bc92a6d56cf9527b89 (diff)
downloadbasic-hdl-template-a2bad497c8b01efac1781bd20bc14082dff56b7c.tar.gz
basic-hdl-template-a2bad497c8b01efac1781bd20bc14082dff56b7c.zip
move around device-specific Makefile includes for easier target swapping
-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)