summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-10 17:43:38 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-10 17:43:38 +0100
commitd6719550db330dd3d9c77a597dba29ff052aed8e (patch)
treed40bfa6600027f14fb8533e2d7c38fd672f28802
parent1f8a1ea564deb0b7910bf53b3f3193551a517345 (diff)
downloadpoky-d6719550db330dd3d9c77a597dba29ff052aed8e.tar.gz
binutils-cross: Remove uneeded custom staging functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/binutils/binutils-cross_2.18.bb21
-rw-r--r--meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb21
2 files changed, 0 insertions, 42 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}
diff --git a/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb b/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
index d22da46192..8ab1e7f63e 100644
--- a/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
+++ b/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
@@ -1,24 +1,3 @@
1require binutils_csl-arm-2008q1.bb 1require binutils_csl-arm-2008q1.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}