summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu7
-rw-r--r--target/config/Config.in.endian1
-rw-r--r--target/config/Config.in.libc3
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 || \