EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
--enable-install-libbfd \
--enable-shared \
+ --disable-werror \
${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
cd ${D}${bindir}
# Symlinks for ease of running these on the native target
- for p in ${TARGET_SYS}-* ; do
+ for p in ${TARGET_PREFIX}* ; do
ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,`
done
- rm ${D}${bindir}/ar ${D}${bindir}/strings
+ rm -f ${D}${bindir}/ar ${D}${bindir}/strings
oe_multilib_header bfd.h
}