From a2bad497c8b01efac1781bd20bc14082dff56b7c Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Wed, 9 Oct 2013 00:22:52 -0400 Subject: move around device-specific Makefile includes for easier target swapping --- Makefile | 7 +++++-- 1 file 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) -- cgit v1.2.3