diff options
author | bryan newbold <bnewbold@leaflabs.com> | 2013-10-09 00:22:52 -0400 |
---|---|---|
committer | bryan newbold <bnewbold@leaflabs.com> | 2013-10-09 00:22:52 -0400 |
commit | a2bad497c8b01efac1781bd20bc14082dff56b7c (patch) | |
tree | 01aee776f221f5f2784304dd5e3cf1ba5b624041 | |
parent | a38a10ca87414c88317202bc92a6d56cf9527b89 (diff) | |
download | basic-hdl-template-a2bad497c8b01efac1781bd20bc14082dff56b7c.tar.gz basic-hdl-template-a2bad497c8b01efac1781bd20bc14082dff56b7c.zip |
move around device-specific Makefile includes for easier target swapping
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |