diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 18:06:15 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 18:06:15 +0100 |
| commit | 066535608e879c0327dfa874f3978d6cc15fa59f (patch) | |
| tree | 0c9d9f6924746568a85edfeee5f826d31d1ce59b /meta | |
| parent | 28f8e3034c2e7091a73faf8d1a8afbd36cf7b51a (diff) | |
| download | poky-066535608e879c0327dfa874f3978d6cc15fa59f.tar.gz | |
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.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/binutils/binutils-cross.inc b/meta/packages/binutils/binutils-cross.inc index b5310a6187..f15f781550 100644 --- a/meta/packages/binutils/binutils-cross.inc +++ b/meta/packages/binutils/binutils-cross.inc | |||
| @@ -5,13 +5,15 @@ PROVIDES = "virtual/${TARGET_PREFIX}binutils" | |||
| 5 | PACKAGES = "" | 5 | PACKAGES = "" |
| 6 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ | 6 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ |
| 7 | --program-prefix=${TARGET_PREFIX} \ | 7 | --program-prefix=${TARGET_PREFIX} \ |
| 8 | --enable-install-libbfd \ | 8 | --disable-install-libbfd \ |
| 9 | --disable-werror" | 9 | --disable-werror" |
| 10 | 10 | ||
| 11 | do_install () { | 11 | do_install () { |
| 12 | oe_runmake 'DESTDIR=${D}' install | 12 | oe_runmake 'DESTDIR=${D}' install |
| 13 | 13 | ||
| 14 | # We don't really need these, so we'll remove them... | 14 | # We don't really need these, so we'll remove them... |
| 15 | rm -rf ${D}${STAGING_DIR_NATIVE}${libdir_native}/libiberty.a | ||
| 16 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS} | ||
| 15 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/lib/ldscripts | 17 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/lib/ldscripts |
| 16 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/info | 18 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/info |
| 17 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/locale | 19 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/locale |
