From 4f388ef0418871d27a119386491e474de44652a6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 3 Sep 2007 08:35:49 +0000 Subject: binutils-cross-2.18: Use .inc file git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2664 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/binutils/binutils-cross_2.18.bb | 31 +-------------------------- 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'meta/packages/binutils/binutils-cross_2.18.bb') diff --git a/meta/packages/binutils/binutils-cross_2.18.bb b/meta/packages/binutils/binutils-cross_2.18.bb index 1f2f43ecf8..a418dfaab5 100644 --- a/meta/packages/binutils/binutils-cross_2.18.bb +++ b/meta/packages/binutils/binutils-cross_2.18.bb @@ -1,32 +1,3 @@ -SECTION = "devel" require binutils_${PV}.bb -inherit cross -DEPENDS += "flex-native bison-native" -PROVIDES = "virtual/${TARGET_PREFIX}binutils" +require binutils-cross.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake install - - # 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/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} -- cgit v1.2.3-54-g00ecf