summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-28 06:19:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-28 08:40:17 +0100
commit54c391836b04d7a19a435f89ba617a2ffe06117b (patch)
tree6cee675f0eeababb7d0cb5f99a555d748737452d /target/config
parent89abc818fd48298b1c63774d4eadd7c558604779 (diff)
v850: add basic newlib toolchain support
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.binfmt1
-rw-r--r--target/config/Config.in.cpu7
-rw-r--r--target/config/Config.in.libc4
3 files changed, 11 insertions, 1 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt
index 1ed595afc..54574b72c 100644
--- a/target/config/Config.in.binfmt
+++ b/target/config/Config.in.binfmt
@@ -3,6 +3,7 @@
choice
prompt "Binary Format"
+depends on !ADK_TARGET_LIB_NEWLIB
config ADK_TARGET_BINFMT_ELF
bool "ELF"
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 84695753c..634e3a926 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -669,6 +669,12 @@ config ADK_CPU_TILE
select ADK_TARGET_WITH_NPTL
select ADK_TARGET_WITH_MMU
+config ADK_CPU_V850
+ bool
+ select ADK_TARGET_WITHOUT_MMU
+ select ADK_TARGET_WITHOUT_THREADS
+ select ADK_TARGET_WITHOUT_CXX
+
config ADK_CPU_X86
bool
select ADK_TARGET_WITH_NPTL
@@ -995,5 +1001,6 @@ config ADK_TARGET_CPU_ARCH
default "sparc" if ADK_TARGET_ARCH_SPARC
default "sparc64" if ADK_TARGET_ARCH_SPARC64
default "tilegx" if ADK_TARGET_ARCH_TILE
+ default "v850" if ADK_TARGET_ARCH_V850
default "x86_64" if ADK_TARGET_ARCH_X86_64
default "xtensa" if ADK_TARGET_ARCH_XTENSA
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index ae8c2bc4b..b86841989 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -13,7 +13,8 @@ config ADK_TARGET_LIB_UCLIBC_NG
!ADK_TARGET_ARCH_S390 && \
!ADK_TARGET_ARCH_SPARC64 && \
!ADK_TARGET_ARCH_PPC64 && \
- !ADK_TARGET_ARCH_TILE
+ !ADK_TARGET_ARCH_TILE && \
+ !ADK_TARGET_ARCH_V850
help
http://uclibc-ng.org
@@ -62,6 +63,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_OR1K || \
ADK_TARGET_ARCH_PPC || \
ADK_TARGET_ARCH_SPARC || \
+ ADK_TARGET_ARCH_V850 || \
ADK_TARGET_ARCH_X86
help
https://sourceware.org/newlib/