]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-libc-headers-2.6.20 fixed headers_install path and extend as nativesdk
authorEsben Haabendal <eha@fire.(none)>
Mon, 14 Dec 2009 19:52:58 +0000 (20:52 +0100)
committerJoshua Lock <josh@linux.intel.com>
Tue, 19 Jan 2010 15:08:11 +0000 (15:08 +0000)
meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb

index 518b3bc39bf2a6daab994a63ce567b8d7b1c7cc1..e72d710c9cc6c49f583aa98f2f97ee20c2c714d9 100644 (file)
@@ -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"