summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-09-11 11:18:41 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-09-11 11:18:41 +0000
commit9998dd4d98cfd0fd2ea5d54364b48cb28b54350c (patch)
tree71fe513b765139b389a6fc987424189b1e7f8146 /meta/packages
parentc9375e5a1978002e7d588682d1532d58bfd62835 (diff)
downloadpoky-9998dd4d98cfd0fd2ea5d54364b48cb28b54350c.tar.gz
binutils-cross 2.18: unbreak x86-64 hosts - from OE #2928-c6
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2723 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/binutils/binutils-cross_2.18.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross_2.18.bb b/meta/packages/binutils/binutils-cross_2.18.bb
index a418dfaab5..f51badecf7 100644
--- a/meta/packages/binutils/binutils-cross_2.18.bb
+++ b/meta/packages/binutils/binutils-cross_2.18.bb
@@ -1,3 +1,25 @@
1require binutils_${PV}.bb 1require binutils_${PV}.bb
2require binutils-cross.inc 2require binutils-cross.inc
3PR = "r1"
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" 4FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
5
6do_stage () {
7 oe_runmake install
8
9 MULTILIBDIR=`gcc -print-multi-os-directory`
10
11 # We don't really need these, so we'll remove them...
12 rm -rf ${CROSS_DIR}/lib/ldscripts
13 rm -rf ${CROSS_DIR}/share/info
14 rm -rf ${CROSS_DIR}/share/locale
15 rm -rf ${CROSS_DIR}/share/man
16 rmdir ${CROSS_DIR}/share || :
17 rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
18 rmdir ${CROSS_DIR}/${libdir} || :
19 rmdir ${CROSS_DIR}/${prefix} || :
20
21 # We want to move this into the target specific location
22 mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
23 mv -f ${CROSS_DIR}/lib/${MULTILIBDIR}/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
24 rmdir ${CROSS_DIR}/lib/${MULTILIBDIR} || :
25}