aboutsummaryrefslogtreecommitdiffstats
path: root/icetime/Makefile
diff options
context:
space:
mode:
authorSalvador E. Tropea <salvador@inti.gob.ar>2016-10-13 16:58:21 -0300
committerSalvador E. Tropea <salvador@inti.gob.ar>2016-10-13 16:58:21 -0300
commit1fb08362d9bf5efcaea31247969ea65d3618e62a (patch)
treea725f909663c5f39d132c0f28f9693ce7675e04b /icetime/Makefile
parentfbd7b6c169bb1313340a20574e1e6e00e706f59c (diff)
downloadicestorm-1fb08362d9bf5efcaea31247969ea65d3618e62a.tar.gz
icestorm-1fb08362d9bf5efcaea31247969ea65d3618e62a.tar.bz2
icestorm-1fb08362d9bf5efcaea31247969ea65d3618e62a.zip
Added a new config variable CHIPDB_SUBDIR. It determines the subdir name
used in $(PREFIX)/share/ to install the chip database. This provides a mechanism to choose a directory different than icebox (default). I.e. fpga-icestorm/chipdb for Debian.
Diffstat (limited to 'icetime/Makefile')
-rw-r--r--icetime/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/icetime/Makefile b/icetime/Makefile
index c56002b..cfa7ff0 100644
--- a/icetime/Makefile
+++ b/icetime/Makefile
@@ -1,6 +1,6 @@
include ../config.mk
LDLIBS = -lm -lstdc++
-CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"$(PREFIX)"'
+CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"$(PREFIX)"' -DCHIPDB_SUBDIR='"$(CHIPDB_SUBDIR)"'
ifeq ($(STATIC),1)
LDFLAGS += -static