summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-02 19:25:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-02 19:25:56 +0200
commitc4dbb39da13f00dbc839600d53000e54ed945ab5 (patch)
tree2dc888fa03724e663305f6879f6a2f559221b466 /target
parent6eed13b76d66099b6b6c2cb10f355ddf0acf5912 (diff)
add m32r newlib toolchain
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.gcc1
-rw-r--r--target/config/Config.in.libc1
-rw-r--r--target/m32r/Makefile4
5 files changed, 14 insertions, 0 deletions
diff --git a/target/arch.lst b/target/arch.lst
index 3dfba39ef..00472fdd9 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -12,6 +12,7 @@ h8300
hppa
ia64
lm32
+m32r
m68k
metag
microblaze
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index a17850189..2cd1f51c0 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -580,6 +580,12 @@ config ADK_TARGET_CPU_CF_5475
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_M68K
+# m32r
+config ADK_TARGET_CPU_M32R
+ bool "m32r"
+ select ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_M32R
+
# m68k
config ADK_TARGET_CPU_M68K_68020
bool "68020"
@@ -1615,6 +1621,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 "m32r" if ADK_TARGET_ARCH_M32R
default "m68k" if ADK_TARGET_ARCH_M68K
default "metag" if ADK_TARGET_ARCH_METAG
default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
diff --git a/target/config/Config.in.gcc b/target/config/Config.in.gcc
index a2f90efe6..7b2d67b36 100644
--- a/target/config/Config.in.gcc
+++ b/target/config/Config.in.gcc
@@ -29,6 +29,7 @@ config ADK_TOOLCHAIN_GCC_5_3_0
depends on !ADK_TARGET_ARCH_C6X
depends on !ADK_TARGET_ARCH_FRV
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_M32R
depends on !ADK_TARGET_ARCH_METAG
depends on !ADK_TARGET_ARCH_OR1K
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index aeb8e11e8..b3c794c01 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -90,6 +90,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_FRV || \
ADK_TARGET_ARCH_H8300 || \
ADK_TARGET_ARCH_LM32 || \
+ ADK_TARGET_ARCH_M32R || \
ADK_TARGET_ARCH_M68K || \
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
diff --git a/target/m32r/Makefile b/target/m32r/Makefile
new file mode 100644
index 000000000..9c9eb49d0
--- /dev/null
+++ b/target/m32r/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