]> code.ossystems Code Review - openembedded-core.git/commitdiff
iproute2: don't use the kernel header tree
authorSaul Wold <sgw@linux.intel.com>
Thu, 28 Feb 2013 01:32:24 +0000 (17:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Mar 2013 12:54:56 +0000 (12:54 +0000)
This should compile against the userspace safe kernel headers

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/iproute2/iproute2.inc

index 41957ce5b3b13648d9dcf720dde80151af16cc10..fb233ebd43b61445743dec28e010d84c29c7dedb 100644 (file)
@@ -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