diff options
author | Richard Purdie <richard@openedhand.com> | 2007-03-20 10:50:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-03-20 10:50:17 +0000 |
commit | dca8036a95869e51e83f13430ebae8d1dab25313 (patch) | |
tree | e7af2859d152c33b61be3e738676a49fc3235073 /meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | |
parent | 7ada27ed1161351a1e9faff1b02259da970c9a11 (diff) | |
download | poky-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.bb | 8 |
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 | ||
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-${PV}.tar.bz2" | 7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" |
8 | 8 | ||
9 | S = "${WORKDIR}/linux-${PV}" | 9 | S = "${WORKDIR}/linux-${PV}" |
10 | 10 | ||
11 | export TARGET_ARCH | ||
12 | |||
13 | set_arch() { | 11 | set_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 | ||
40 | do_install() { | 38 | do_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 | ||
45 | do_install_append_arm() { | 43 | do_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} |