summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-03 23:49:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-03 23:49:19 +0200
commitea0502d5a4c7dfd55675628db71ef3cec322c68f (patch)
tree38e27d455259e0d75ed4344196227208f5cd62dc
parent272acea1ae652537c32ef99a476b574e510689d7 (diff)
add mn10300 newlib toolchain support
-rw-r--r--target/arch.lst1
-rw-r--r--target/config/Config.in.cpu6
-rw-r--r--target/config/Config.in.libc1
-rw-r--r--target/mn10300/Makefile4
4 files changed, 12 insertions, 0 deletions
diff --git a/target/arch.lst b/target/arch.lst
index 871c21967..803b011ba 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -18,6 +18,7 @@ metag
microblaze
mips
mips64
+mn10300
moxie
msp430
nds32
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index d4de6d5d9..a73b4b11e 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -683,6 +683,11 @@ config ADK_TARGET_CPU_MIPS64_LOONGSON2F
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_MIPS64
+# mn10300
+config ADK_TARGET_CPU_MN10300
+ bool "mn10300"
+ depends on ADK_TARGET_ARCH_MN10300
+
# moxie
config ADK_TARGET_CPU_MOXIE
bool "moxie"
@@ -1635,6 +1640,7 @@ config ADK_TARGET_CPU_ARCH
default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
+ default "mn10300" if ADK_TARGET_ARCH_MN10300
default "moxie" if ADK_TARGET_ARCH_MOXIE
default "msp430" if ADK_TARGET_ARCH_MSP430
default "nds32le" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_LITTLE_ENDIAN
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index cb5efb1e9..1c7ee6e34 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -94,6 +94,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_M68K || \
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
+ ADK_TARGET_ARCH_MN10300 || \
ADK_TARGET_ARCH_MOXIE || \
ADK_TARGET_ARCH_MSP430 || \
ADK_TARGET_ARCH_NIOS2 || \
diff --git a/target/mn10300/Makefile b/target/mn10300/Makefile
new file mode 100644
index 000000000..9c9eb49d0
--- /dev/null
+++ b/target/mn10300/Makefile
@@ -0,0 +1,4 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk