From 1b3bbba4ecdee558da53d1d881052e233d37f41f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 20 Mar 2007 11:01:19 +0000 Subject: linux-libc-headers: Fix further ARCH references git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1369 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb | 4 ++-- meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb | 6 +++--- meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | 7 ++++--- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'meta') diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb index 0956d0f3c..3fd712067 100644 --- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb +++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb @@ -2,7 +2,7 @@ require linux-libc-headers.inc DEFAULT_PREFERENCE = "-1" INHIBIT_DEFAULT_DEPS = "1" -PR = "r1" +PR = "r2" SRC_URI = " \ ${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \ @@ -52,6 +52,6 @@ do_stage () { rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic install -d ${CROSS_DIR}/${TARGET_SYS}/include cp -pfLR ${S}${includedir}/linux ${CROSS_DIR}/${TARGET_SYS}/include/ - cp -pfLR ${S}${includedir}/asm-${ARCH} ${CROSS_DIR}/${TARGET_SYS}/include/asm + cp -pfLR ${S}${includedir}/asm-$ARCH ${CROSS_DIR}/${TARGET_SYS}/include/asm cp -pfLR ${S}${includedir}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/ } diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb index e1f362737..d53134f40 100644 --- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb +++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb @@ -2,7 +2,7 @@ require linux-libc-headers.inc INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "unifdef-native" -PR = "r2" +PR = "r3" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \ file://arm-syscall-define.patch;patch=1" @@ -30,7 +30,7 @@ set_arch() { do_configure() { set_arch - oe_runmake allnoconfig ARCH=${ARCH} + oe_runmake allnoconfig ARCH=$ARCH } do_compile () { @@ -51,7 +51,7 @@ do_stage () { set_arch rm -rf ${STAGE_TEMP} mkdir -p ${STAGE_TEMP} - oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH} + 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 fi 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 420c7e854..dbdc9c659 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 = "r3" +PR = "r4" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" @@ -29,7 +29,7 @@ set_arch() { do_configure() { set_arch - oe_runmake allnoconfig ARCH=${ARCH} + oe_runmake allnoconfig ARCH=$ARCH } do_compile () { @@ -48,9 +48,10 @@ STAGE_TEMP="${WORKDIR}/temp-staging" do_stage () { set_arch + echo $ARCH rm -rf ${STAGE_TEMP} mkdir -p ${STAGE_TEMP} - oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH} + 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 fi -- cgit v1.2.3