summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-11-17 10:26:21 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-11-18 14:05:57 +0000
commitd80fca527a6618595a118381a2cd2a569f85889f (patch)
tree3c26855eb3bd281825cb9e8bc77af886fdc1b658 /common.mk
parent838cd58e24a18102b8a140df9fa993fe65706828 (diff)
downloadopenocd+libswd-d80fca527a6618595a118381a2cd2a569f85889f.tar.gz
openocd+libswd-d80fca527a6618595a118381a2cd2a569f85889f.tar.bz2
openocd+libswd-d80fca527a6618595a118381a2cd2a569f85889f.tar.xz
openocd+libswd-d80fca527a6618595a118381a2cd2a569f85889f.zip
build: add autobuild jimtcl to configure scripts
Rather than having to configure/build jimtcl openocd will do this as part of its own build. To use an external jimtcl lib specify disable-internal-jimtcl to the configure step. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index d2273d78..c1a5e6c6 100644
--- a/common.mk
+++ b/common.mk
@@ -3,3 +3,8 @@
AM_CPPFLAGS = -I$(top_srcdir)/src \
-I$(top_builddir)/src \
-DPKGDATADIR=\"$(pkgdatadir)\"
+
+if INTERNAL_JIMTCL
+AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
+ -I$(top_builddir)/jimtcl
+endif