From d6719550db330dd3d9c77a597dba29ff052aed8e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 10 Sep 2009 17:43:38 +0100 Subject: binutils-cross: Remove uneeded custom staging functions Signed-off-by: Richard Purdie --- meta/packages/binutils/binutils-cross_2.18.bb | 21 --------------------- .../binutils/binutils-cross_csl-arm-2008q1.bb | 21 --------------------- 2 files changed, 42 deletions(-) (limited to 'meta') 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} || : -} -- cgit v1.2.3