[U-Boot] [PATCH 5/8] sh: Do not define -ffreestanding twice

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Thu Feb 27 22:24:11 CET 2014


Applied, thanks.

Best regards,
  Nobuhiro

2014-02-26 14:51 GMT+09:00 Masahiro Yamada <yamada.m at jp.panasonic.com>:
> -ffreestanding is defined at the top Makefile for all architectures.
> Do not define it twice for SH2A.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
> ---
>
>  arch/sh/cpu/sh2/config.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk
> index 69273b4..25abcdd 100644
> --- a/arch/sh/cpu/sh2/config.mk
> +++ b/arch/sh/cpu/sh2/config.mk
> @@ -8,7 +8,7 @@
>  ENDIANNESS += -EB
>
>  ifdef CONFIG_SH2A
> -PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -ffreestanding
> +PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
>  else # SH2
>  PLATFORM_CPPFLAGS += -m3e -mb
>  endif
> --
> 1.8.3.2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot



-- 
Nobuhiro Iwamatsu


More information about the U-Boot mailing list