diff options
author | Richard Purdie <richard@openedhand.com> | 2007-03-20 11:01:19 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-03-20 11:01:19 +0000 |
commit | 1b3bbba4ecdee558da53d1d881052e233d37f41f (patch) | |
tree | 297905cd9f4c5b839b3d6e0316f34a529d10a674 /meta/packages/linux-libc-headers | |
parent | dca8036a95869e51e83f13430ebae8d1dab25313 (diff) | |
download | poky-1b3bbba4ecdee558da53d1d881052e233d37f41f.tar.gz |
linux-libc-headers: Fix further ARCH references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1369 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers')
3 files changed, 9 insertions, 8 deletions
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 0956d0f3c4..3fd7120673 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 | |||
2 | 2 | ||
3 | DEFAULT_PREFERENCE = "-1" | 3 | DEFAULT_PREFERENCE = "-1" |
4 | INHIBIT_DEFAULT_DEPS = "1" | 4 | INHIBIT_DEFAULT_DEPS = "1" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | SRC_URI = " \ | 7 | SRC_URI = " \ |
8 | ${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \ | 8 | ${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 () { | |||
52 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic | 52 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic |
53 | install -d ${CROSS_DIR}/${TARGET_SYS}/include | 53 | install -d ${CROSS_DIR}/${TARGET_SYS}/include |
54 | cp -pfLR ${S}${includedir}/linux ${CROSS_DIR}/${TARGET_SYS}/include/ | 54 | cp -pfLR ${S}${includedir}/linux ${CROSS_DIR}/${TARGET_SYS}/include/ |
55 | cp -pfLR ${S}${includedir}/asm-${ARCH} ${CROSS_DIR}/${TARGET_SYS}/include/asm | 55 | cp -pfLR ${S}${includedir}/asm-$ARCH ${CROSS_DIR}/${TARGET_SYS}/include/asm |
56 | cp -pfLR ${S}${includedir}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/ | 56 | cp -pfLR ${S}${includedir}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/ |
57 | } | 57 | } |
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 e1f3627371..d53134f406 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 | |||
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | DEPENDS = "unifdef-native" | 4 | DEPENDS = "unifdef-native" |
5 | PR = "r2" | 5 | PR = "r3" |
6 | 6 | ||
7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \ | 7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \ |
8 | file://arm-syscall-define.patch;patch=1" | 8 | file://arm-syscall-define.patch;patch=1" |
@@ -30,7 +30,7 @@ set_arch() { | |||
30 | 30 | ||
31 | do_configure() { | 31 | do_configure() { |
32 | set_arch | 32 | set_arch |
33 | oe_runmake allnoconfig ARCH=${ARCH} | 33 | oe_runmake allnoconfig ARCH=$ARCH |
34 | } | 34 | } |
35 | 35 | ||
36 | do_compile () { | 36 | do_compile () { |
@@ -51,7 +51,7 @@ do_stage () { | |||
51 | set_arch | 51 | set_arch |
52 | rm -rf ${STAGE_TEMP} | 52 | rm -rf ${STAGE_TEMP} |
53 | mkdir -p ${STAGE_TEMP} | 53 | mkdir -p ${STAGE_TEMP} |
54 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH} | 54 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH |
55 | if [ "$ARCH" == "arm" ]; then | 55 | if [ "$ARCH" == "arm" ]; then |
56 | cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm | 56 | cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm |
57 | fi | 57 | 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 420c7e854a..dbdc9c6597 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 | |||
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | DEPENDS = "unifdef-native" | 4 | DEPENDS = "unifdef-native" |
5 | PR = "r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" | 7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" |
8 | 8 | ||
@@ -29,7 +29,7 @@ set_arch() { | |||
29 | 29 | ||
30 | do_configure() { | 30 | do_configure() { |
31 | set_arch | 31 | set_arch |
32 | oe_runmake allnoconfig ARCH=${ARCH} | 32 | oe_runmake allnoconfig ARCH=$ARCH |
33 | } | 33 | } |
34 | 34 | ||
35 | do_compile () { | 35 | do_compile () { |
@@ -48,9 +48,10 @@ STAGE_TEMP="${WORKDIR}/temp-staging" | |||
48 | 48 | ||
49 | do_stage () { | 49 | do_stage () { |
50 | set_arch | 50 | set_arch |
51 | echo $ARCH | ||
51 | rm -rf ${STAGE_TEMP} | 52 | rm -rf ${STAGE_TEMP} |
52 | mkdir -p ${STAGE_TEMP} | 53 | mkdir -p ${STAGE_TEMP} |
53 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH} | 54 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH |
54 | if [ "$ARCH" == "arm" ]; then | 55 | if [ "$ARCH" == "arm" ]; then |
55 | cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm | 56 | cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm |
56 | fi | 57 | fi |