mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
linux-libc-headers: Add a more functional procinfo.h header
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1371 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,9 +2,10 @@ require linux-libc-headers.inc
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS = "unifdef-native"
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2"
|
||||
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
|
||||
file://procinfo.h"
|
||||
|
||||
S = "${WORKDIR}/linux-${PV}"
|
||||
|
||||
@@ -41,7 +42,7 @@ do_install() {
|
||||
}
|
||||
|
||||
do_install_append_arm() {
|
||||
cp include/asm-arm/procinfo.h ${D}${includedir}/asm
|
||||
cp ${WORKDIR}/procinfo.h ${D}${includedir}/asm/
|
||||
}
|
||||
|
||||
STAGE_TEMP="${WORKDIR}/temp-staging"
|
||||
@@ -53,7 +54,7 @@ do_stage () {
|
||||
mkdir -p ${STAGE_TEMP}
|
||||
oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH
|
||||
if [ "$ARCH" = "arm" ]; then
|
||||
cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm
|
||||
cp ${WORKDIR}/procinfo.h ${STAGE_TEMP}${includedir}/asm/
|
||||
fi
|
||||
install -d ${STAGING_INCDIR}
|
||||
rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic
|
||||
|
||||
Reference in New Issue
Block a user