diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-16 09:02:05 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-16 09:02:05 +0100 |
commit | 40b0e9c937b3098fce9e570d2ce4f3a057456bd0 (patch) | |
tree | 06d5344a283f0c964bd504758525ce9170f179e2 /target/config | |
parent | 22120d505749f6b174ce482d2b60980e14ce248b (diff) |
add nds32 bare-metal toolchain support
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.cpu | 7 | ||||
-rw-r--r-- | target/config/Config.in.endian | 1 | ||||
-rw-r--r-- | target/config/Config.in.libc | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 7ca935f74..89f5a68ab 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -844,6 +844,11 @@ config ADK_CPU_MICROBLAZE select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL +config ADK_CPU_NDS32 + bool + select ADK_TARGET_WITH_NPTL + select ADK_TARGET_WITH_MMU + config ADK_CPU_NIOS2 bool select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG @@ -1377,6 +1382,8 @@ 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 "nds32le" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_LITTLE_ENDIAN + default "nds32be" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_BIG_ENDIAN default "nios2" if ADK_TARGET_ARCH_NIOS2 default "or1k" if ADK_TARGET_ARCH_OR1K default "ppc" if ADK_TARGET_ARCH_PPC diff --git a/target/config/Config.in.endian b/target/config/Config.in.endian index 599f878f9..cd1151a4e 100644 --- a/target/config/Config.in.endian +++ b/target/config/Config.in.endian @@ -10,6 +10,7 @@ depends on ADK_TARGET_ARCH_ARC \ || ADK_TARGET_ARCH_MICROBLAZE \ || ADK_TARGET_ARCH_MIPS \ || ADK_TARGET_ARCH_MIPS64 \ + || ADK_TARGET_ARCH_NDS32 \ || ADK_TARGET_ARCH_PPC64 \ || ADK_TARGET_ARCH_SH \ || ADK_TARGET_ARCH_XTENSA diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc index d1fb33f7f..9c68fdbec 100644 --- a/target/config/Config.in.libc +++ b/target/config/Config.in.libc @@ -8,6 +8,7 @@ config ADK_TARGET_LIB_UCLIBC_NG bool "uClibc-ng embedded C library" depends on \ !ADK_TARGET_ARCH_AARCH64 && \ + !ADK_TARGET_ARCH_NDS32 && \ !ADK_TARGET_ARCH_S390 && \ !ADK_TARGET_ARCH_SPARC64 && \ !ADK_TARGET_ARCH_PPC64 && \ @@ -39,6 +40,7 @@ config ADK_TARGET_LIB_GLIBC depends on !ADK_TARGET_ARCH_BFIN depends on !ADK_TARGET_ARCH_CRIS depends on !ADK_TARGET_ARCH_H8300 + depends on !ADK_TARGET_ARCH_NDS32 depends on !ADK_TARGET_ARCH_XTENSA depends on !ADK_TARGET_UCLINUX depends on !ADK_TARGET_WITHOUT_MMU @@ -57,6 +59,7 @@ config ADK_TARGET_LIB_NEWLIB ADK_TARGET_ARCH_LM32 || \ ADK_TARGET_ARCH_MICROBLAZE || \ ADK_TARGET_ARCH_MIPS || \ + ADK_TARGET_ARCH_NDS32 || \ ADK_TARGET_ARCH_OR1K || \ ADK_TARGET_ARCH_PPC || \ ADK_TARGET_ARCH_SPARC || \ |