From 066535608e879c0327dfa874f3978d6cc15fa59f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 23 Jul 2010 18:06:15 +0100 Subject: binutils: Disable libbfd and remove unneeded copies of tools in dangerous paths. gcc now has symlinks to handle this Signed-off-by: Richard Purdie --- meta/packages/binutils/binutils-cross.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta') 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 -- cgit v1.2.3