summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils-cross_2.17.50.0.5.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-12-20 09:43:35 +0000
committerRichard Purdie <richard@openedhand.com>2006-12-20 09:43:35 +0000
commitdfd478337a1e48ce8b95ead01bff8df14918dad3 (patch)
treeb6ac5078dc807a8db5ef2db3cb78502ef7593620 /meta/packages/binutils/binutils-cross_2.17.50.0.5.bb
parent6ae7f0bf485d45b33f3909981c3b8c97757b5aa5 (diff)
downloadpoky-dfd478337a1e48ce8b95ead01bff8df14918dad3.tar.gz
binutils: Add 2.17.50.0.5 (from OE.dev)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1057 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils/binutils-cross_2.17.50.0.5.bb')
-rw-r--r--meta/packages/binutils/binutils-cross_2.17.50.0.5.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross_2.17.50.0.5.bb b/meta/packages/binutils/binutils-cross_2.17.50.0.5.bb
new file mode 100644
index 0000000000..1f2f43ecf8
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross_2.17.50.0.5.bb
@@ -0,0 +1,32 @@
1SECTION = "devel"
2require binutils_${PV}.bb
3inherit cross
4DEPENDS += "flex-native bison-native"
5PROVIDES = "virtual/${TARGET_PREFIX}binutils"
6FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
7PACKAGES = ""
8EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
9 --program-prefix=${TARGET_PREFIX}"
10
11do_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
30do_install () {
31 :
32}