aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/u-boot
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2011-02-08 22:40:17 +0000
committerGraeme Gregory <dp@xora.org.uk>2011-02-08 22:40:17 +0000
commit42f8d0260da08cd72586deb13211b8de8600b300 (patch)
treed4345d23447ecfabf2a9f22562440488bddf2113 /recipes/u-boot
parent024e010e93704c5e6ba8276602b77b5ea59e40c5 (diff)
downloadopenembedded-42f8d0260da08cd72586deb13211b8de8600b300.tar.gz
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@xora.org.uk>
Diffstat (limited to 'recipes/u-boot')
-rw-r--r--recipes/u-boot/u-boot_git.bb2
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 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