Add -DPKGLIBDIR to AM_CPPFLAGS.
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Mon, 20 Jun 2011 17:51:46 +0000 (19:51 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 26 Jun 2011 15:43:51 +0000 (17:43 +0200)
This is required so the OpenULINK driver knows the install location of the OpenULINK
firmware image.

common.mk

index c1a5e6c..20b96bd 100644 (file)
--- 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 \