diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-19 13:00:24 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-19 13:00:24 +0000 |
commit | 6d09e07cd2778089845c7a5235da6d4c5a244070 (patch) | |
tree | e287137a7bcb2997ee2141e850434d4281f38416 /meta/packages | |
parent | 93c82d7f921b3b2e83a453a85c8f280ceeaa6c9d (diff) | |
download | poky-6d09e07cd2778089845c7a5235da6d4c5a244070.tar.gz |
linux-libc-headers: Add DEPEND on cross-linkage to handle linking of directories
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2762 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
3 files changed, 6 insertions, 12 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers.inc b/meta/packages/linux-libc-headers/linux-libc-headers.inc index d9f4d687ee..43f0958863 100644 --- a/meta/packages/linux-libc-headers/linux-libc-headers.inc +++ b/meta/packages/linux-libc-headers/linux-libc-headers.inc | |||
@@ -1,3 +1,5 @@ | |||
1 | DESCRIPTION = "Sanitized set of 2.6 kernel headers for the C library's use." | 1 | DESCRIPTION = "Sanitized set of 2.6 kernel headers for the C library's use." |
2 | SECTION = "devel" | 2 | SECTION = "devel" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | |||
5 | DEPENDS = "cross-linkage" \ No newline at end of file | ||
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 1adaf26fc4..33cbb4ad28 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 | |||
@@ -1,8 +1,8 @@ | |||
1 | require linux-libc-headers.inc | 1 | 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 = "r4" | 5 | PR = "r5" |
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" |
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 6f169f89fc..3f5607684a 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 | |||
@@ -1,8 +1,8 @@ | |||
1 | require linux-libc-headers.inc | 1 | 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 = "r6" | 5 | PR = "r7" |
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 | file://procinfo.h" | 8 | file://procinfo.h" |
@@ -61,12 +61,4 @@ do_stage () { | |||
61 | cp -pfLR ${STAGE_TEMP}${includedir}/linux ${STAGING_INCDIR}/ | 61 | cp -pfLR ${STAGE_TEMP}${includedir}/linux ${STAGING_INCDIR}/ |
62 | cp -pfLR ${STAGE_TEMP}${includedir}/asm ${STAGING_INCDIR}/ | 62 | cp -pfLR ${STAGE_TEMP}${includedir}/asm ${STAGING_INCDIR}/ |
63 | cp -pfLR ${STAGE_TEMP}${includedir}/asm-generic ${STAGING_INCDIR}/ | 63 | cp -pfLR ${STAGE_TEMP}${includedir}/asm-generic ${STAGING_INCDIR}/ |
64 | |||
65 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux | ||
66 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm | ||
67 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic | ||
68 | install -d ${CROSS_DIR}/${TARGET_SYS}/include | ||
69 | ln -s ${STAGING_INCDIR}/linux ${CROSS_DIR}/${TARGET_SYS}/include/linux | ||
70 | ln -s ${STAGING_INCDIR}/asm ${CROSS_DIR}/${TARGET_SYS}/include/asm | ||
71 | ln -s ${STAGING_INCDIR}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic | ||
72 | } | 64 | } |