X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=common.mk;h=1cb0743ecdcb60c5fa275763f6199c1fabc3c5dc;hp=d2273d78827229601716be8638f782947e14887e;hb=a4bacdcb84f0d0cbd19a8db3833f65445c47904c;hpb=838cd58e24a18102b8a140df9fa993fe65706828 diff --git a/common.mk b/common.mk index d2273d7882..1cb0743ecd 100644 --- 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