diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-19 23:27:49 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-07-28 09:31:29 +0200 |
commit | f73dc1bf2aa9791cfd078f158d6ad3349107899c (patch) | |
tree | d6015ddbd7bc5da117abfaf995e006be7970f031 /meta/packages | |
parent | 961589f1a43f938d30b4f8f2ce79c9710edaf58b (diff) | |
download | poky-f73dc1bf2aa9791cfd078f158d6ad3349107899c.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')
-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 () { |