X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=common.mk;h=f301c3acebd301829fb0f5ce030f5aa23ada4a62;hp=d2273d78827229601716be8638f782947e14887e;hb=8de17eb65aef93d8cf379f750777d3163efdf68a;hpb=838cd58e24a18102b8a140df9fa993fe65706828 diff --git a/common.mk b/common.mk index d2273d7882..f301c3aceb 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)\" \ + -DBINDIR=\"$(bindir)\" + +if INTERNAL_JIMTCL +AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \ + -I$(top_builddir)/jimtcl +endif