Patchwork [2/2] iproute2: don't use the kernel header tree

login
register
mail settings
Submitter Saul Wold
Date Feb. 28, 2013, 4:48 a.m.
Message ID <1362026924-10574-3-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/45251/
State Accepted
Commit 2af25458fcabd62c96574c9ff2eed033cf09001e
Headers show

Comments

Saul Wold - Feb. 28, 2013, 4:48 a.m.
This should compile against the userspace safe kernel headers

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index 41957ce..fb233eb 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -13,7 +13,7 @@  DEPENDS = "flex-native bison-native iptables"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_KERNEL_DIR}/include DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
 
 do_install () {
     oe_runmake DESTDIR=${D} install