summaryrefslogtreecommitdiff
path: root/meta/packages/binutils
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 /meta/packages/binutils
parent1f8a1ea564deb0b7910bf53b3f3193551a517345 (diff)
downloadopenembedded-core-d6719550db330dd3d9c77a597dba29ff052aed8e.tar.gz
openembedded-core-d6719550db330dd3d9c77a597dba29ff052aed8e.tar.bz2
openembedded-core-d6719550db330dd3d9c77a597dba29ff052aed8e.tar.xz
openembedded-core-d6719550db330dd3d9c77a597dba29ff052aed8e.zip
binutils-cross: Remove uneeded custom staging functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/binutils')
-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 ecda3a16a..590f227a9 100644
--- a/meta/packages/binutils/binutils-cross_2.18.bb
+++ b/meta/packages/binutils/binutils-cross_2.18.bb
@@ -1,24 +1,3 @@
require binutils_${PV}.bb
require binutils-cross.inc
PR = "r1"
-
-do_stage () {
- oe_runmake install
-
- MULTILIBDIR=`gcc -print-multi-os-directory`
-
- # We don't really need these, so we'll remove them...
- rm -rf ${CROSS_DIR}/lib/ldscripts
- rm -rf ${CROSS_DIR}/share/info
- rm -rf ${CROSS_DIR}/share/locale
- rm -rf ${CROSS_DIR}/share/man
- rmdir ${CROSS_DIR}/share || :
- rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
- rmdir ${CROSS_DIR}/${libdir} || :
- rmdir ${CROSS_DIR}/${prefix} || :
-
- # We want to move this into the target specific location
- mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
- mv -f ${CROSS_DIR}/lib/${MULTILIBDIR}/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
- rmdir ${CROSS_DIR}/lib/${MULTILIBDIR} || :
-}
diff --git a/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb b/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
index d22da4619..8ab1e7f63 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 @@
require binutils_csl-arm-2008q1.bb
require binutils-cross.inc
PR = "r1"
-
-do_stage () {
- oe_runmake install
-
- MULTILIBDIR=`gcc -print-multi-os-directory`
-
- # We don't really need these, so we'll remove them...
- rm -rf ${CROSS_DIR}/lib/ldscripts
- rm -rf ${CROSS_DIR}/share/info
- rm -rf ${CROSS_DIR}/share/locale
- rm -rf ${CROSS_DIR}/share/man
- rmdir ${CROSS_DIR}/share || :
- rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
- rmdir ${CROSS_DIR}/${libdir} || :
- rmdir ${CROSS_DIR}/${prefix} || :
-
- # We want to move this into the target specific location
- mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
- mv -f ${CROSS_DIR}/lib/${MULTILIBDIR}/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
- rmdir ${CROSS_DIR}/lib/${MULTILIBDIR} || :
-}