From 7706d5d844db2725f4118207d90e302679eacdfe Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 18 May 2011 12:24:32 -0400 Subject: linux-yocto/meta-yocto: fix gcc 4.6.0 compilation failures Fixes gcc 4.6.0 compliation issues by importing the upstream change: Author: Michal Marek Date: Mon May 2 12:13:01 2011 +0000 kbuild: Fix passing -Wno-* options to gcc 4.4+ Starting with 4.4, gcc will happily accept -Wno- in the cc-option test and complain later when compiling a file that has some other warning. This rather unexpected behavior is intentional as per http://gcc.gnu.org/PR28322, so work around it by testing for support of the opposite option (without the no-). Introduce a new Makefile function cc-disable-warning that does this and update two uses of cc-option in the toplevel Makefile. Reported-by: Stephen Rothwell Signed-off-by: Michal Marek Tested-by: Stephen Rothwell Integrated-by: Bruce Ashfield :100644 100644 0ef00bd... 1d8e7e9... M Documentation/kbuild/makefiles.txt :100644 100644 7bd863e0.. 74bac80... M Makefile :100644 100644 ed2773e... ba25c44... M scripts/Kbuild.include Signed-off-by: Bruce Ashfield --- meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend b/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend index 052831d5a1..e053fe96d3 100644 --- a/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend +++ b/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend @@ -3,11 +3,11 @@ KMACHINE_routerstationpro = "yocto/standard/routerstationpro" KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb" KMACHINE_beagleboard = "yocto/standard/beagleboard" -SRCREV_machine_emenlow = "c3bbcb676f929c4fc0511a6e66494b8770d015a1" -SRCREV_machine_atom-pc = "b906f358fd404a1e74a961f25079274e0d933ee1" -SRCREV_machine_routerstationpro = "95ca94d2e71ca2db6822a37a7f575fa79c3d05d0" -SRCREV_machine_mpc8315e-rdb = "53c800c244e73d81d2832f6da306eeae3b09e5dc" -SRCREV_machine_beagleboard = "b906f358fd404a1e74a961f25079274e0d933ee1" +SRCREV_machine_emenlow = "5d0d346c0e4b2d837cd98dccbf043f1988e2058a" +SRCREV_machine_atom-pc = "79d6188d99bdf63da9a0ba27c010792266e337f9" +SRCREV_machine_routerstationpro = "d6aadb767fdcbb9886c430e90b92f49cd3a9ddcc" +SRCREV_machine_mpc8315e-rdb = "e5c67f6a64b8b7393ca3a9c80b3ac197be0a8d5f" +SRCREV_machine_beagleboard = "e53debfc6896bb89174ebb74154ed9b3bc72b59c" COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" -- cgit v1.2.3-54-g00ecf