summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-23 18:06:15 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-23 18:06:15 +0100
commit066535608e879c0327dfa874f3978d6cc15fa59f (patch)
tree0c9d9f6924746568a85edfeee5f826d31d1ce59b /meta
parent28f8e3034c2e7091a73faf8d1a8afbd36cf7b51a (diff)
downloadopenembedded-core-066535608e879c0327dfa874f3978d6cc15fa59f.tar.gz
openembedded-core-066535608e879c0327dfa874f3978d6cc15fa59f.tar.bz2
openembedded-core-066535608e879c0327dfa874f3978d6cc15fa59f.tar.xz
openembedded-core-066535608e879c0327dfa874f3978d6cc15fa59f.zip
binutils: Disable libbfd and remove unneeded copies of tools in dangerous paths. gcc now has symlinks to handle this
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/binutils/binutils-cross.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/binutils/binutils-cross.inc b/meta/packages/binutils/binutils-cross.inc
index b5310a618..f15f78155 100644
--- a/meta/packages/binutils/binutils-cross.inc
+++ b/meta/packages/binutils/binutils-cross.inc
@@ -5,13 +5,15 @@ PROVIDES = "virtual/${TARGET_PREFIX}binutils"
PACKAGES = ""
EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
--program-prefix=${TARGET_PREFIX} \
- --enable-install-libbfd \
+ --disable-install-libbfd \
--disable-werror"
do_install () {
oe_runmake 'DESTDIR=${D}' install
# We don't really need these, so we'll remove them...
+ rm -rf ${D}${STAGING_DIR_NATIVE}${libdir_native}/libiberty.a
+ rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}
rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/lib/ldscripts
rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/info
rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/locale