[oe-commits] Graeme Gregory : u-boot : for omapzoom2/3 and gcc 4. 5 the -Os optimisation produces a
git version control
git at git.openembedded.org
Tue Feb 8 22:42:25 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 42f8d0260da08cd72586deb13211b8de8600b300
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=42f8d0260da08cd72586deb13211b8de8600b300
Author: Graeme Gregory <dp at xora.org.uk>
Date: Tue Feb 8 22:40:17 2011 +0000
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 <dp at xora.org.uk>
---
recipes/u-boot/u-boot_git.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index 252d8bb..9699e8f 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
More information about the Openembedded-commits
mailing list