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 | |
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')
3 files changed, 9 insertions, 10 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 c4125ee75a..0956d0f3c4 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,6 +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 | 6 | ||
6 | SRC_URI = " \ | 7 | SRC_URI = " \ |
7 | ${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 \ |
@@ -35,7 +36,7 @@ do_install() { | |||
35 | set_arch | 36 | set_arch |
36 | install -d ${D}${includedir} | 37 | install -d ${D}${includedir} |
37 | cp -pfLR ${S}${includedir}/linux ${D}${includedir}/ | 38 | cp -pfLR ${S}${includedir}/linux ${D}${includedir}/ |
38 | cp -pfLR ${S}${includedir}/asm-${ARCH} ${D}${includedir}/asm | 39 | cp -pfLR ${S}${includedir}/asm-$ARCH ${D}${includedir}/asm |
39 | cp -pfLR ${S}${includedir}/asm-generic ${D}${includedir}/ | 40 | cp -pfLR ${S}${includedir}/asm-generic ${D}${includedir}/ |
40 | } | 41 | } |
41 | 42 | ||
@@ -44,7 +45,7 @@ do_stage () { | |||
44 | install -d ${STAGING_INCDIR} | 45 | install -d ${STAGING_INCDIR} |
45 | rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic | 46 | rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic |
46 | cp -pfLR ${S}${includedir}/linux ${STAGING_INCDIR}/ | 47 | cp -pfLR ${S}${includedir}/linux ${STAGING_INCDIR}/ |
47 | cp -pfLR ${S}${includedir}/asm-${ARCH} ${STAGING_INCDIR}/asm | 48 | cp -pfLR ${S}${includedir}/asm-$ARCH ${STAGING_INCDIR}/asm |
48 | cp -pfLR ${S}${includedir}/asm-generic ${STAGING_INCDIR}/ | 49 | cp -pfLR ${S}${includedir}/asm-generic ${STAGING_INCDIR}/ |
49 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux | 50 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux |
50 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm | 51 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm |
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 8e1c5dc3e8..e1f3627371 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 = "r1" | 5 | PR = "r2" |
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" |
@@ -38,7 +38,7 @@ do_compile () { | |||
38 | 38 | ||
39 | do_install() { | 39 | do_install() { |
40 | set_arch | 40 | set_arch |
41 | oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=${ARCH} | 41 | oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=$ARCH |
42 | } | 42 | } |
43 | 43 | ||
44 | do_install_append_arm() { | 44 | do_install_append_arm() { |
@@ -52,7 +52,7 @@ do_stage () { | |||
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 |
58 | install -d ${STAGING_INCDIR} | 58 | install -d ${STAGING_INCDIR} |
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} |