summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-03-20 10:50:17 +0000
committerRichard Purdie <richard@openedhand.com>2007-03-20 10:50:17 +0000
commitdca8036a95869e51e83f13430ebae8d1dab25313 (patch)
treee7af2859d152c33b61be3e738676a49fc3235073 /meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
parent7ada27ed1161351a1e9faff1b02259da970c9a11 (diff)
downloadpoky-dca8036a95869e51e83f13430ebae8d1dab25313.tar.gz
linux-libc-headers: Fix ARCH references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1368 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb')
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb8
1 files changed, 3 insertions, 5 deletions
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 9bfc6354ee..420c7e854a 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,14 +2,12 @@ require linux-libc-headers.inc
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3INHIBIT_DEFAULT_DEPS = "1"
4DEPENDS = "unifdef-native" 4DEPENDS = "unifdef-native"
5PR = "r2" 5PR = "r3"
6 6
7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" 7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2"
8 8
9S = "${WORKDIR}/linux-${PV}" 9S = "${WORKDIR}/linux-${PV}"
10 10
11export TARGET_ARCH
12
13set_arch() { 11set_arch() {
14 case ${TARGET_ARCH} in 12 case ${TARGET_ARCH} in
15 alpha*) ARCH=alpha ;; 13 alpha*) ARCH=alpha ;;
@@ -39,7 +37,7 @@ do_compile () {
39 37
40do_install() { 38do_install() {
41 set_arch 39 set_arch
42 oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=${ARCH} 40 oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=$ARCH
43} 41}
44 42
45do_install_append_arm() { 43do_install_append_arm() {
@@ -53,7 +51,7 @@ do_stage () {
53 rm -rf ${STAGE_TEMP} 51 rm -rf ${STAGE_TEMP}
54 mkdir -p ${STAGE_TEMP} 52 mkdir -p ${STAGE_TEMP}
55 oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH} 53 oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH}
56 if [ "${ARCH}" == "arm" ]; then 54 if [ "$ARCH" == "arm" ]; then
57 cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm 55 cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm
58 fi 56 fi
59 install -d ${STAGING_INCDIR} 57 install -d ${STAGING_INCDIR}