aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>2011-06-20 19:51:46 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-26 17:43:51 +0200
commit1aba8205191a4f5af1aa7aa3465a8abc86f4f9d5 (patch)
tree6ff6352f47a3a906b140bf1de0e16890cd32dcda
parent5141ab3e691b63e080e3620d82e0e3a1953fb968 (diff)
Add -DPKGLIBDIR to AM_CPPFLAGS.
This is required so the OpenULINK driver knows the install location of the OpenULINK firmware image.
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index c1a5e6c6..20b96bd4 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 \