diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-11 00:09:26 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-11 00:09:26 +0000 |
commit | 024567e8a294bfbdeb60c9ac027898f8f3a2cba6 (patch) | |
tree | c884253580fdcdf59618d41ab77a36149346183d /meta | |
parent | 95d8d6b2609ae4a1985e6781a06768ebdb3361b3 (diff) | |
download | poky-024567e8a294bfbdeb60c9ac027898f8f3a2cba6.tar.gz |
cross-linkage: Add improvements from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3988 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/meta/cross-linkage_1.0.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/meta/cross-linkage_1.0.bb b/meta/packages/meta/cross-linkage_1.0.bb index a2da649acc..9be09aa6f8 100644 --- a/meta/packages/meta/cross-linkage_1.0.bb +++ b/meta/packages/meta/cross-linkage_1.0.bb | |||
@@ -3,8 +3,8 @@ SECTION = "devel" | |||
3 | PACKAGES = "" | 3 | PACKAGES = "" |
4 | 4 | ||
5 | INHIBIT_DEFAULT_DEPS = "1" | 5 | INHIBIT_DEFAULT_DEPS = "1" |
6 | PR = "r0" | ||
7 | EXCLUDE_FROM_WORLD = "1" | 6 | EXCLUDE_FROM_WORLD = "1" |
7 | PR = "r0" | ||
8 | 8 | ||
9 | SRC_URI = "" | 9 | SRC_URI = "" |
10 | 10 | ||
@@ -22,8 +22,14 @@ do_install() { | |||
22 | 22 | ||
23 | do_stage () { | 23 | do_stage () { |
24 | install -d ${CROSS_DIR}/${TARGET_SYS}/ | 24 | install -d ${CROSS_DIR}/${TARGET_SYS}/ |
25 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include | 25 | if [ -e ${CROSS_DIR}/${TARGET_SYS}/include ]; then |
26 | cp -pPRr ${CROSS_DIR}/${TARGET_SYS}/include/* ${STAGING_INCDIR} | ||
27 | mv ${CROSS_DIR}/${TARGET_SYS}/include/ ${CROSS_DIR}/${TARGET_SYS}/include-oldbackup | ||
28 | fi | ||
26 | ln -s ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include | 29 | ln -s ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include |
27 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/lib | 30 | if [ -e ${CROSS_DIR}/${TARGET_SYS}/lib ]; then |
31 | cp -pPRr ${CROSS_DIR}/${TARGET_SYS}/lib/* ${STAGING_LIBDIR} | ||
32 | mv ${CROSS_DIR}/${TARGET_SYS}/lib/ ${CROSS_DIR}/${TARGET_SYS}/lib-oldbackup | ||
33 | fi | ||
28 | ln -s ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib | 34 | ln -s ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib |
29 | } | 35 | } |