From 1aba8205191a4f5af1aa7aa3465a8abc86f4f9d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Schm=C3=B6lzer?=
 <martin.schmoelzer@student.tuwien.ac.at>
Date: Mon, 20 Jun 2011 19:51:46 +0200
Subject: [PATCH] Add -DPKGLIBDIR to AM_CPPFLAGS.

This is required so the OpenULINK driver knows the install location of the OpenULINK
firmware image.
---
 common.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common.mk b/common.mk
index c1a5e6c66..20b96bd4a 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 \
-- 
GitLab