mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
sh: sh2a: Add sh2a optimize to config.mk
Only the optimization of sh2 had been supported up. This adds the optimization of sh2a. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
c4f07be21c
commit
8cc44418b8
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@
|
||||||
#
|
#
|
||||||
ENDIANNESS += -EB
|
ENDIANNESS += -EB
|
||||||
|
|
||||||
|
ifdef CONFIG_SH2A
|
||||||
|
PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -mno-fdpic -ffreestanding
|
||||||
|
else # SH2
|
||||||
PLATFORM_CPPFLAGS += -m3e -mb
|
PLATFORM_CPPFLAGS += -m3e -mb
|
||||||
|
endif
|
||||||
|
|
||||||
PLATFORM_RELFLAGS += -ffixed-r13
|
PLATFORM_RELFLAGS += -ffixed-r13
|
||||||
PLATFORM_LDFLAGS += $(ENDIANNESS)
|
PLATFORM_LDFLAGS += $(ENDIANNESS)
|
||||||
|
|
Loading…
Reference in a new issue