summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-26 14:51:02 +0900
committerTom Rini <trini@ti.com>2014-03-04 09:27:40 -0500
commitaceba5a5cff05c14b9352244d931019b2d92b8fd (patch)
treef8203fb27750199e7e502598ade055c43396d68c /arch/sh
parentf694183ba1858ef7dfa4fec195e61aa3afa85f63 (diff)
downloadu-boot-aceba5a5cff05c14b9352244d931019b2d92b8fd.tar.gz
u-boot-aceba5a5cff05c14b9352244d931019b2d92b8fd.tar.bz2
u-boot-aceba5a5cff05c14b9352244d931019b2d92b8fd.zip
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 <yamada.m@jp.panasonic.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/cpu/sh2/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk
index 69273b4f38..25abcdd48f 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