diff options
-rw-r--r-- | Rules.mak | 2 | ||||
-rw-r--r-- | extra/Configs/Config.in | 1 | ||||
-rw-r--r-- | extra/Configs/Config.sh | 4 |
3 files changed, 7 insertions, 0 deletions
@@ -422,9 +422,11 @@ $(eval $(call check-gcc-var,-mprefergot)) ifeq ($(UCLIBC_HAS_FPU),y) CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a CPU_CFLAGS-$(CONFIG_SH4)+=-m4 + CPU_CFLAGS-$(CONFIG_SH4A)+=-m4a else CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a-nofpu CPU_CFLAGS-$(CONFIG_SH4)+=-m4-nofpu + CPU_CFLAGS-$(CONFIG_SH4A)+=-m4a-nofpu endif endif diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 8e925b239..f3f573d3c 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -269,6 +269,7 @@ config TARGET_SUBARCH default "e500" if CONFIG_E500 default "classic" if CONFIG_CLASSIC default "sh4" if CONFIG_SH4 + default "sh4" if CONFIG_SH4A default "" if CONFIG_386 default "i486" if CONFIG_486 default "i586" if CONFIG_586 diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh index 5e0fc9e1c..1367b1c4f 100644 --- a/extra/Configs/Config.sh +++ b/extra/Configs/Config.sh @@ -27,6 +27,7 @@ choice - "SH2" SuperH SH-2 - "SH3" SuperH SH-3 - "SH4" SuperH SH-4 + - "SH4A" SuperH SH-4a config CONFIG_SH2A select ARCH_HAS_NO_MMU @@ -44,6 +45,9 @@ config CONFIG_SH3 config CONFIG_SH4 bool "SH4" +config CONFIG_SH4A + bool "SH4A" + endchoice config ARCH_HAS_BWD_MEMCPY |