summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-10-10 19:22:47 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-10-10 19:22:47 +0200
commit2b5f1a5e0c627d49d37d5eac2179c552e85d1c1a (patch)
tree7e08bb69220b40b1a0223edd3b0bb9d2284c5abd /meta-oe
parent8d425adb96157d9a3ef10a37472f9fd480976b8c (diff)
downloadmeta-openembedded-2b5f1a5e0c627d49d37d5eac2179c552e85d1c1a.tar.gz
binutils 2.20.1: add -Werror hack to get the target version to build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb b/meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb
index d4eb5162a..ea61136c7 100644
--- a/meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb
+++ b/meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb
@@ -1,6 +1,6 @@
1require binutils.inc 1require binutils.inc
2 2
3PR = "r7" 3PR = "r8"
4 4
5LIC_FILES_CHKSUM="\ 5LIC_FILES_CHKSUM="\
6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ 6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
@@ -40,3 +40,13 @@ SRC_URI[md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
40SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64" 40SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
41 41
42BBCLASSEXTEND = "native" 42BBCLASSEXTEND = "native"
43
44do_configure_prepend() {
45 sed -i -e 's: -Werror::g' ${S}/bfd/warning.m4
46
47 # These aren't getting regenerated by autotools.bbclass
48 for i in $(find ${S} -name "configure") ; do
49 sed -i -e 's: -Werror::g' $i
50 done
51}
52