diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-03 08:35:49 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-03 08:35:49 +0000 |
commit | 4f388ef0418871d27a119386491e474de44652a6 (patch) | |
tree | e0bf2338d91a39b14416cc099109d5fda4627003 /meta/packages/binutils | |
parent | dbf959bfa8c0485eee1a128a2b98e50e7f4a93e4 (diff) | |
download | openembedded-core-4f388ef0418871d27a119386491e474de44652a6.tar.gz openembedded-core-4f388ef0418871d27a119386491e474de44652a6.tar.bz2 openembedded-core-4f388ef0418871d27a119386491e474de44652a6.zip |
binutils-cross-2.18: Use .inc file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2664 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils')
-rw-r--r-- | meta/packages/binutils/binutils-cross_2.18.bb | 31 |
1 files changed, 1 insertions, 30 deletions
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 () { - : -} |