From: Martin Schmölzer Date: Mon, 20 Jun 2011 17:51:46 +0000 (+0200) Subject: Add -DPKGLIBDIR to AM_CPPFLAGS. X-Git-Tag: v0.5.0-rc1~5 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=1aba8205191a4f5af1aa7aa3465a8abc86f4f9d5 Add -DPKGLIBDIR to AM_CPPFLAGS. This is required so the OpenULINK driver knows the install location of the OpenULINK firmware image. --- diff --git a/common.mk b/common.mk index c1a5e6c66e..20b96bd4a1 100644 --- a/common.mk +++ b/common.mk @@ -2,7 +2,8 @@ # 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 \