summaryrefslogtreecommitdiffstats
path: root/meta
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
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')
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb5
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb6
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb8
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
3DEFAULT_PREFERENCE = "-1" 3DEFAULT_PREFERENCE = "-1"
4INHIBIT_DEFAULT_DEPS = "1" 4INHIBIT_DEFAULT_DEPS = "1"
5PR = "r1"
5 6
6SRC_URI = " \ 7SRC_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
3INHIBIT_DEFAULT_DEPS = "1" 3INHIBIT_DEFAULT_DEPS = "1"
4DEPENDS = "unifdef-native" 4DEPENDS = "unifdef-native"
5PR = "r1" 5PR = "r2"
6 6
7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \ 7SRC_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
39do_install() { 39do_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
44do_install_append_arm() { 44do_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
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}