Revert "target: remove unused working area 'user' field"
[fw/openocd] / common.mk
index d2273d78827229601716be8638f782947e14887e..1cb0743ecdcb60c5fa275763f6199c1fabc3c5dc 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -2,4 +2,11 @@
 # common flags used in openocd build
 AM_CPPFLAGS = -I$(top_srcdir)/src \
                          -I$(top_builddir)/src \
-                         -DPKGDATADIR=\"$(pkgdatadir)\"
+                         -I$(top_srcdir)/src/helper \
+                         -DPKGDATADIR=\"$(pkgdatadir)\" \
+                         -DPKGLIBDIR=\"$(pkglibdir)\"
+
+if INTERNAL_JIMTCL
+AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
+                          -I$(top_builddir)/jimtcl
+endif