From: Graeme Gregory Date: Tue, 8 Feb 2011 22:40:17 +0000 (+0000) Subject: u-boot : for omapzoom2/3 and gcc 4.5 the -Os optimisation produces a X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42f8d0260da08cd72586deb13211b8de8600b300;p=openembedded.git u-boot : for omapzoom2/3 and gcc 4.5 the -Os optimisation produces a u-boot which doesnt boot or launch kernel. This makes u-boot a lot slower but as we only see it once on boot this is unimportant in long view so remove the -Os from build. Signed-off-by: Graeme Gregory --- diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb index 252d8bbb3b..9699e8f1e8 100644 --- a/recipes/u-boot/u-boot_git.bb +++ b/recipes/u-boot/u-boot_git.bb @@ -203,6 +203,7 @@ PV_omapzoom2 = "1.1.4+${PR}+gitr${SRCREV}" PE_omapzoom2 = "1" do_compile_omapzoom2 () { + sed -i -e "s|OPTFLAGS=.*|OPTFLAGS=|" config.mk unset LDFLAGS unset CFLAGS unset CPPFLAGS @@ -221,6 +222,7 @@ PV_omapzoom36x = "1.1.4+${PR}+gitr${SRCREV}" PE_omapzoom36x = "1" do_compile_omapzoom36x () { + sed -i -e "s|OPTFLAGS=.*|OPTFLAGS=|" config.mk unset LDFLAGS unset CFLAGS unset CPPFLAGS