summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils-cross_2.18.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/binutils/binutils-cross_2.18.bb')
-rw-r--r--meta/packages/binutils/binutils-cross_2.18.bb21
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/packages/binutils/binutils-cross_2.18.bb b/meta/packages/binutils/binutils-cross_2.18.bb
index ecda3a16ae..590f227a9f 100644
--- a/meta/packages/binutils/binutils-cross_2.18.bb
+++ b/meta/packages/binutils/binutils-cross_2.18.bb
@@ -1,24 +1,3 @@
1require binutils_${PV}.bb 1require binutils_${PV}.bb
2require binutils-cross.inc 2require binutils-cross.inc
3PR = "r1" 3PR = "r1"
4
5do_stage () {
6 oe_runmake install
7
8 MULTILIBDIR=`gcc -print-multi-os-directory`
9
10 # We don't really need these, so we'll remove them...
11 rm -rf ${CROSS_DIR}/lib/ldscripts
12 rm -rf ${CROSS_DIR}/share/info
13 rm -rf ${CROSS_DIR}/share/locale
14 rm -rf ${CROSS_DIR}/share/man
15 rmdir ${CROSS_DIR}/share || :
16 rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
17 rmdir ${CROSS_DIR}/${libdir} || :
18 rmdir ${CROSS_DIR}/${prefix} || :
19
20 # We want to move this into the target specific location
21 mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
22 mv -f ${CROSS_DIR}/lib/${MULTILIBDIR}/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
23 rmdir ${CROSS_DIR}/lib/${MULTILIBDIR} || :
24}