diff options
Diffstat (limited to 'meta/recipes-bsp/uboot/u-boot.inc')
-rw-r--r-- | meta/recipes-bsp/uboot/u-boot.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc index 503d2c335b..3a53fbad4d 100644 --- a/meta/recipes-bsp/uboot/u-boot.inc +++ b/meta/recipes-bsp/uboot/u-boot.inc | |||
@@ -23,7 +23,12 @@ do_compile () { | |||
23 | unset CFLAGS | 23 | unset CFLAGS |
24 | unset CPPFLAGS | 24 | unset CPPFLAGS |
25 | oe_runmake ${UBOOT_MACHINE} | 25 | oe_runmake ${UBOOT_MACHINE} |
26 | oe_runmake all | 26 | # -Os is disabled on PowerPC |
27 | if [ ${TARGET_ARCH} == "powerpc" ] ; then | ||
28 | oe_runmake OPTFLAGS=-O2 all | ||
29 | else | ||
30 | oe_runmake all | ||
31 | fi | ||
27 | } | 32 | } |
28 | 33 | ||
29 | do_deploy () { | 34 | do_deploy () { |