X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=common.mk;h=20b96bd4a1fb3e2ce4fd06eab69cb75470d13649;hb=ea7c87e5e79db7103f886d8c7d1deaad6b1c0fe0;hp=d2273d78827229601716be8638f782947e14887e;hpb=838cd58e24a18102b8a140df9fa993fe65706828;p=openocd.git diff --git a/common.mk b/common.mk index d2273d7882..20b96bd4a1 100644 --- a/common.mk +++ b/common.mk @@ -2,4 +2,10 @@ # common flags used in openocd build AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_builddir)/src \ - -DPKGDATADIR=\"$(pkgdatadir)\" + -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DPKGLIBDIR=\"$(pkglibdir)\" + +if INTERNAL_JIMTCL +AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \ + -I$(top_builddir)/jimtcl +endif