summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index a13eddc829..5de3583424 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -7,8 +7,7 @@ inherit deploy
7 7
8PARALLEL_MAKE="" 8PARALLEL_MAKE=""
9 9
10# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS 10EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
11EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
12 11
13python () { 12python () {
14 if not d.getVar("UBOOT_MACHINE", True): 13 if not d.getVar("UBOOT_MACHINE", True):