From 42f8d0260da08cd72586deb13211b8de8600b300 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Tue, 8 Feb 2011 22:40:17 +0000 Subject: 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 --- recipes/u-boot/u-boot_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes/u-boot') 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 -- cgit 1.2.3-korg