From 48007a047e472dc540a03b203a1e3690126eca5a Mon Sep 17 00:00:00 2001
From: Esben Haabendal <eha@fire.(none)>
Date: Mon, 14 Dec 2009 20:52:58 +0100
Subject: linux-libc-headers-2.6.20 fixed headers_install path and extend as
 nativesdk

---
 meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'meta/packages/linux-libc-headers')

diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
index 518b3bc39b..e72d710c9c 100644
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
+++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
@@ -2,7 +2,7 @@ require linux-libc-headers.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
-PR = "r9"
+PR = "r10"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://procinfo.h \
@@ -41,10 +41,11 @@ do_compile () {
 
 do_install() {
 	set_arch
-	oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=$ARCH
+	oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
 }
 
 do_install_append_arm() {
 	cp ${WORKDIR}/procinfo.h ${D}${includedir}/asm/
 }
 
+BBCLASSEXTEND = "nativesdk"
-- 
cgit v1.2.3