summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/arch.lst1
-rw-r--r--target/config/Config.in.cpu7
-rw-r--r--target/config/Config.in.libc1
-rw-r--r--target/m32c/Makefile4
4 files changed, 13 insertions, 0 deletions
diff --git a/target/arch.lst b/target/arch.lst
index 8fdcf39c3..a41a8fcc9 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -13,6 +13,7 @@ h8300
hppa
ia64
lm32
+m32c
m32r
m68k
metag
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index f2ba76872..7bfc528e0 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -745,6 +745,12 @@ config ADK_TARGET_CPU_CF_5475
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_M68K
+# m32c
+config ADK_TARGET_CPU_M32C
+ bool "m32c"
+ select ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_M32C
+
# m32r
config ADK_TARGET_CPU_M32R
bool "m32r"
@@ -2074,6 +2080,7 @@ config ADK_TARGET_CPU_ARCH
default "hppa" if ADK_TARGET_ARCH_HPPA
default "ia64" if ADK_TARGET_ARCH_IA64
default "lm32" if ADK_TARGET_ARCH_LM32
+ default "m32c" if ADK_TARGET_ARCH_M32C
default "m32r" if ADK_TARGET_ARCH_M32R
default "m68k" if ADK_TARGET_ARCH_M68K
default "metag" if ADK_TARGET_ARCH_METAG
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index 69ae1d12c..219ccdcd2 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -102,6 +102,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_H8300 || \
ADK_TARGET_ARCH_IA64 || \
ADK_TARGET_ARCH_LM32 || \
+ ADK_TARGET_ARCH_M32C || \
ADK_TARGET_ARCH_M32R || \
ADK_TARGET_ARCH_M68K || \
ADK_TARGET_ARCH_MICROBLAZE || \
diff --git a/target/m32c/Makefile b/target/m32c/Makefile
new file mode 100644
index 000000000..9c9eb49d0
--- /dev/null
+++ b/target/m32c/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