]> git.sur5r.net Git - u-boot/commitdiff
sh: Do not define -ffreestanding twice
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Feb 2014 05:51:02 +0000 (14:51 +0900)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:27:40 +0000 (09:27 -0500)
-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>
arch/sh/cpu/sh2/config.mk

index 69273b4f382fa38f3963a852201ccf5dbae59ea6..25abcdd48f05c98b4a52a83f51893ddc04294427 100644 (file)
@@ -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