build: add autobuild jimtcl to configure scripts
[fw/openocd] / common.mk
index d2273d78827229601716be8638f782947e14887e..c1a5e6c66e45ab8e67aedd9b01c350bca55704db 100644 (file)
--- 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