[oe-commits] Khem Raj : ppp: Add extra include dirs

git at git.openembedded.org git at git.openembedded.org
Sat Apr 11 22:34:08 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 5e9a95adb1e6a4a07693b25e8dceafd6b762d60e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5e9a95adb1e6a4a07693b25e8dceafd6b762d60e

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Apr 10 18:20:35 2015 -0700

ppp: Add extra include dirs

Just run configure, the configure script is not really
a autoconf generated script so just run it

Include path is needed to be there since
the headers from it are used during build in subcomponents

Change-Id: Ib1f24fd18bc8564e3c74ab834b7cf0fdf955d0e1
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/ppp/ppp_2.4.7.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
index 92ca0c9..4219d45 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
@@ -43,7 +43,11 @@ EXTRA_OECONF = "--disable-strip"
 # Package Makefile computes CFLAGS, referencing COPTS.
 # Typically hard-coded to '-O2 -g' in the Makefile's.
 #
-EXTRA_OEMAKE += ' COPTS="${CFLAGS}"'
+EXTRA_OEMAKE += ' COPTS="${CFLAGS} -I${S}/include"'
+
+do_configure () {
+	oe_runconf
+}
 
 do_install_append () {
 	make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp



More information about the Openembedded-commits mailing list