summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-02 07:04:36 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-03 18:39:11 +0100
commitc797b9909cb53015c0a240a14d2788010f8b4f08 (patch)
tree8606eb0830d9b404616ae91844b1d550d363623a /extra
parent6d40500590bd17ba77fa6d9daa27e5c546e8d2e5 (diff)
sh4a: allow to build a sh4a toolchain
Add correct compiler settings.
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in1
-rw-r--r--extra/Configs/Config.sh4
2 files changed, 5 insertions, 0 deletions
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