cortex_m: Fix single stepping will not return to debug mode sometimes
[fw/openocd] / common.mk
index c1a5e6c66e45ab8e67aedd9b01c350bca55704db..1cb0743ecdcb60c5fa275763f6199c1fabc3c5dc 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -2,7 +2,9 @@
 # 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 \