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/binutils-cross_2.18.bb | |
parent | dbf959bfa8c0485eee1a128a2b98e50e7f4a93e4 (diff) | |
download | poky-4f388ef0418871d27a119386491e474de44652a6.tar.gz |
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/binutils-cross_2.18.bb')
-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 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
3 | inherit cross | 2 | require binutils-cross.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | 3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" |
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | do_stage () { | ||
12 | oe_runmake install | ||
13 | |||
14 | # We don't really need these, so we'll remove them... | ||
15 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
16 | rm -rf ${CROSS_DIR}/share/info | ||
17 | rm -rf ${CROSS_DIR}/share/locale | ||
18 | rm -rf ${CROSS_DIR}/share/man | ||
19 | rmdir ${CROSS_DIR}/share || : | ||
20 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
21 | rmdir ${CROSS_DIR}/${libdir} || : | ||
22 | rmdir ${CROSS_DIR}/${prefix} || : | ||
23 | |||
24 | # We want to move this into the target specific location | ||
25 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
26 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
27 | rmdir ${CROSS_DIR}/lib || : | ||
28 | } | ||
29 | |||
30 | do_install () { | ||
31 | : | ||
32 | } | ||