Browse Source

add m32r newlib toolchain

Waldemar Brodkorb 8 years ago
parent
commit
c4dbb39da1

+ 1 - 0
target/arch.lst

@@ -12,6 +12,7 @@ h8300
 hppa
 ia64
 lm32
+m32r
 m68k
 metag
 microblaze

+ 7 - 0
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

+ 1 - 0
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

+ 1 - 0
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 || \

+ 4 - 0
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