aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.example
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-11-12 19:57:34 -0500
committerbryan newbold <bnewbold@leaflabs.com>2013-11-12 20:03:09 -0500
commit4782465ef5d08bd7e7a36085a3013ed379e90ec2 (patch)
treefe2deb9c67906aba6e7969e409bdcee40f064033 /Makefile.example
parentf155faea835fff5b953777d97ab73ca76696fbe3 (diff)
downloadbasic-hdl-template-4782465ef5d08bd7e7a36085a3013ed379e90ec2.tar.gz
basic-hdl-template-4782465ef5d08bd7e7a36085a3013ed379e90ec2.zip
hack fix for bug with include ordering
There seems to be a problem with the default target being overriden when a board-specific file is included before xilinx.mk. Workaround is to include targets last.
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.example b/Makefile.example
index 8194587..c0c566d 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -8,11 +8,12 @@ vendor := xilinx
### Uncomment this line to use the Xilinx SP605 dev board with default
### configuration
-#include ./contrib/sp605/sp605.mk
+#include ./contrib/sp605/settings.mk
-### Uncomment this line to use the Xula2 dev board with default configuration
+### Uncomment these lines to use the Xula2 dev board with default configuration
### See also ./contrib/xula2/README.xula2
-include ./contrib/xula2/xula2.mk
+include ./contrib/xula2/settings.mk
+extra_includes += ./contrib/xula2/targets.mk
### Edit and uncomment the below lines to use a custom board
#board := exampleboard
@@ -26,7 +27,7 @@ include ./contrib/xula2/xula2.mk
### Uncomment this line and create a new makefile to include any
### hardware-specific targets (eg, upload via SPI)
-#extra_includes = exampleproj.mk
+#extra_includes += exampleproj.mk
part := $(device)$(speedgrade)-$(device_package)