From: Masahiro Yamada Date: Wed, 26 Feb 2014 05:51:02 +0000 (+0900) Subject: sh: Do not define -ffreestanding twice X-Git-Tag: accepted/tizen/generic/20140310.101015~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aceba5a5cff05c14b9352244d931019b2d92b8fd;p=kernel%2Fu-boot.git sh: Do not define -ffreestanding twice -ffreestanding is defined at the top Makefile for all architectures. Do not define it twice for SH2A. Signed-off-by: Masahiro Yamada Cc: Nobuhiro Iwamatsu --- 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