linux-libc-headers-2.6.20 fixed headers_install path and extend as nativesdk
This commit is contained in:
parent
8fa52fb8cd
commit
48007a047e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue