Revision | 99e0301da2efb6013aefff2187135bdb7dcbbc03 (tree) |
---|---|
Time | 2014-02-11 19:45:25 |
Author | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
Update build options.
@@ -11,6 +11,9 @@ CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000 | ||
11 | 11 | ifeq ($(CPU),sh2) |
12 | 12 | CONFIG_STANDALONE_LOAD_ADDR += -EB |
13 | 13 | endif |
14 | +ifeq ($(CPU),sh2a) | |
15 | +CONFIG_STANDALONE_LOAD_ADDR += -m2a-nofpu | |
16 | +endif | |
14 | 17 | |
15 | 18 | PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ |
16 | 19 | PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE) |
@@ -8,7 +8,7 @@ | ||
8 | 8 | ENDIANNESS += -EB |
9 | 9 | |
10 | 10 | ifdef CONFIG_SH2A |
11 | -PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -ffreestanding | |
11 | +PLATFORM_CPPFLAGS += -m2a-nofpu -mb -ffreestanding | |
12 | 12 | else # SH2 |
13 | 13 | PLATFORM_CPPFLAGS += -m3e -mb |
14 | 14 | endif |
@@ -16,3 +16,5 @@ PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic) | ||
16 | 16 | |
17 | 17 | PLATFORM_RELFLAGS += -ffixed-r13 |
18 | 18 | PLATFORM_LDFLAGS += $(ENDIANNESS) |
19 | + | |
20 | +USE_PRIVATE_LIBGCC = yes |