diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-19 23:27:49 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-19 23:27:49 +0000 |
commit | 08e51e1ce6fe9065ddc6c31d2a4c289609efe6c3 (patch) | |
tree | 0253b5af85d12b5922750ba862ac995e0147dc3a /meta/packages/binutils | |
parent | e746654dd9221d843107cd0e15e1aca8dce88368 (diff) | |
download | poky-08e51e1ce6fe9065ddc6c31d2a4c289609efe6c3.tar.gz |
bintuils-cross.inc: Merge improvements from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4093 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils')
-rw-r--r-- | meta/packages/binutils/binutils-cross.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/binutils/binutils-cross.inc b/meta/packages/binutils/binutils-cross.inc index a45a39feab..63e5cf6a62 100644 --- a/meta/packages/binutils/binutils-cross.inc +++ b/meta/packages/binutils/binutils-cross.inc | |||
@@ -4,7 +4,9 @@ DEPENDS += "flex-native bison-native" | |||
4 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | 4 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" |
5 | PACKAGES = "" | 5 | PACKAGES = "" |
6 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ | 6 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ |
7 | --program-prefix=${TARGET_PREFIX}" | 7 | --program-prefix=${TARGET_PREFIX} \ |
8 | --enable-install-libbfd \ | ||
9 | --disable-werror" | ||
8 | 10 | ||
9 | do_stage () { | 11 | do_stage () { |
10 | oe_runmake install | 12 | oe_runmake install |
@@ -16,13 +18,17 @@ do_stage () { | |||
16 | rm -rf ${CROSS_DIR}/share/man | 18 | rm -rf ${CROSS_DIR}/share/man |
17 | rmdir ${CROSS_DIR}/share || : | 19 | rmdir ${CROSS_DIR}/share || : |
18 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | 20 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : |
21 | rmdir ${CROSS_DIR}/${libdir}64/gcc-lib || : | ||
19 | rmdir ${CROSS_DIR}/${libdir} || : | 22 | rmdir ${CROSS_DIR}/${libdir} || : |
23 | rmdir ${CROSS_DIR}/${libdir}64 || : | ||
20 | rmdir ${CROSS_DIR}/${prefix} || : | 24 | rmdir ${CROSS_DIR}/${prefix} || : |
21 | 25 | ||
22 | # We want to move this into the target specific location | 26 | # We want to move this into the target specific location |
23 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | 27 | mkdir -p ${STAGING_DIR_TARGET}/lib |
24 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | 28 | mv -f ${CROSS_DIR}/lib/libiberty.a ${STAGING_DIR_TARGET}/lib/lib || \ |
29 | mv -f ${CROSS_DIR}/lib64/libiberty.a ${STAGING_DIR_TARGET}/lib/lib | ||
25 | rmdir ${CROSS_DIR}/lib || : | 30 | rmdir ${CROSS_DIR}/lib || : |
31 | rmdir ${CROSS_DIR}/lib64 || : | ||
26 | } | 32 | } |
27 | 33 | ||
28 | do_install () { | 34 | do_install () { |