summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-01-27 11:13:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-03 16:17:15 +0000
commit34ba3b689e1141b266a1cc3b7bef5081d91df2ef (patch)
treedfddb89bac9f9f97827f26efcab3afddac765be7 /meta
parent6cafc0011e147dd378e4f24643d944e3ac48e206 (diff)
downloadpoky-34ba3b689e1141b266a1cc3b7bef5081d91df2ef.tar.gz
binutils: fixes for build with an external csl toolchain
(From OE-Core rev: 050eb9c82d8a2d04f2578c04a826b7762d737446) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc5
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}"
51EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ 51EXTRA_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
56EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" 57EXTRA_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}