diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 6130ab4665..e343242366 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -51,6 +51,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" | |||
51 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 51 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ |
52 | --enable-install-libbfd \ | 52 | --enable-install-libbfd \ |
53 | --enable-shared \ | 53 | --enable-shared \ |
54 | --disable-werror \ | ||
54 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" | 55 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" |
55 | 56 | ||
56 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" | 57 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" |
@@ -113,11 +114,11 @@ do_install () { | |||
113 | cd ${D}${bindir} | 114 | cd ${D}${bindir} |
114 | 115 | ||
115 | # Symlinks for ease of running these on the native target | 116 | # Symlinks for ease of running these on the native target |
116 | for p in ${TARGET_SYS}-* ; do | 117 | for p in ${TARGET_PREFIX}* ; do |
117 | ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,` | 118 | ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,` |
118 | done | 119 | done |
119 | 120 | ||
120 | rm ${D}${bindir}/ar ${D}${bindir}/strings | 121 | rm -f ${D}${bindir}/ar ${D}${bindir}/strings |
121 | 122 | ||
122 | oe_multilib_header bfd.h | 123 | oe_multilib_header bfd.h |
123 | } | 124 | } |