summaryrefslogtreecommitdiff
path: root/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-07 07:59:20 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-07 07:59:20 +0000
commit9b30794d30b96257894dd0cb9a1df140f4c7476e (patch)
tree11020c03d469e0b47278e0a9da09faba5b2ab5a3 /meta/packages/binutils/binutils-cross_2.17.50.0.12.bb
parent7024f1af86fe0246745913d1b75a86d9095881e7 (diff)
downloadopenembedded-core-9b30794d30b96257894dd0cb9a1df140f4c7476e.tar.gz
openembedded-core-9b30794d30b96257894dd0cb9a1df140f4c7476e.tar.bz2
openembedded-core-9b30794d30b96257894dd0cb9a1df140f4c7476e.zip
binutils: 2.17.50.0.5 -> 2.17.50.0.12
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2375 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils/binutils-cross_2.17.50.0.12.bb')
-rw-r--r--meta/packages/binutils/binutils-cross_2.17.50.0.12.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb b/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb
new file mode 100644
index 0000000000..1f2f43ecf8
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb
@@ -0,0 +1,32 @@
+SECTION = "devel"
+require binutils_${PV}.bb
+inherit cross
+DEPENDS += "flex-native bison-native"
+PROVIDES = "virtual/${TARGET_PREFIX}binutils"
+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 () {
+ :
+}