X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common.mk;h=1cb0743ecdcb60c5fa275763f6199c1fabc3c5dc;hb=6f65045b3791525e99d09d07b5f9d8dd5aa511e5;hp=d2273d78827229601716be8638f782947e14887e;hpb=838cd58e24a18102b8a140df9fa993fe65706828;p=fw%2Fopenocd diff --git a/common.mk b/common.mk index d2273d788..1cb0743ec 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