mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user