[oe-commits] Frans Meulenbroeks : binutils 2.17.50: fixed nios2 build
git version control
git at git.openembedded.org
Sat Mar 5 17:47:24 UTC 2011
Module: openembedded.git
Branch: master
Commit: f14b336a25c472d07a1a6a355de3a2fbc9d5fba8
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f14b336a25c472d07a1a6a355de3a2fbc9d5fba8
Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date: Sat Mar 5 18:43:25 2011 +0100
binutils 2.17.50: fixed nios2 build
apparently somewhere along the line the nios build for this pacakge
was broken. This fixes it:
added -Wno-error as there were a few warnings in the nios2 specific part
added LDFLAGS to fix GNU hash QA error
both changes are nios2 specific so _append_nios2
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
---
recipes/binutils/binutils_2.17.50.0.12.bb | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/recipes/binutils/binutils_2.17.50.0.12.bb b/recipes/binutils/binutils_2.17.50.0.12.bb
index 55d7614..ea47eb4 100644
--- a/recipes/binutils/binutils_2.17.50.0.12.bb
+++ b/recipes/binutils/binutils_2.17.50.0.12.bb
@@ -1,5 +1,5 @@
require binutils.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
COMPATIBLE_TARGET_SYS = "."
@@ -18,5 +18,8 @@ SRC_URI_append_nios2 =" \
file://binutils-nios2.patch \
"
+CFLAGS_append_nios2 += "-Wno-error"
+TARGET_CC_ARCH_append_nios2 += "${LDFLAGS}"
+
SRC_URI[md5sum] = "6f3e83399b965d70008860f697c50ec2"
SRC_URI[sha256sum] = "7360808266f72aed6fda41735242fb9f1b6dd3307cd6e283a646932438eaa929"
More information about the Openembedded-commits
mailing list