Browse Source

add mn10300 newlib toolchain support

Waldemar Brodkorb 8 years ago
parent
commit
ea0502d5a4
4 changed files with 12 additions and 0 deletions
  1. 1 0
      target/arch.lst
  2. 6 0
      target/config/Config.in.cpu
  3. 1 0
      target/config/Config.in.libc
  4. 4 0
      target/mn10300/Makefile

+ 1 - 0
target/arch.lst

@@ -18,6 +18,7 @@ metag
 microblaze
 mips
 mips64
+mn10300
 moxie
 msp430
 nds32

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

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

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