[OE-core] [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.

Khem Raj raj.khem at gmail.com
Fri Jun 29 21:55:53 UTC 2012


On Friday, June 29, 2012, Paul Gortmaker <paul.gortmaker at windriver.com>
wrote:
> We don't want to force everyone to be stripping the -Os
> flags from their u-boot builds.  Remove it, since it pertains
> to an old toolchain issue that is no longer relevant, and it
> breaks the powerpc mpc8315.

Its fixed that's right but I am curious how does it break with -O2
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> ---
>  meta/recipes-bsp/u-boot/u-boot.inc |    3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc
b/meta/recipes-bsp/u-boot/u-boot.inc
> index a13eddc..0ed5fd9 100644
> --- a/meta/recipes-bsp/u-boot/u-boot.inc
> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
> @@ -7,9 +7,6 @@ inherit deploy
>
>  PARALLEL_MAKE=""
>
> -# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS
> -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
> -
>  python () {
>        if not d.getVar("UBOOT_MACHINE", True):
>                PN = d.getVar("PN", True)
> --
> 1.7.9.6
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120629/2389b5b2/attachment-0002.html>


More information about the Openembedded-core mailing list