summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-27 21:44:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-27 22:20:36 +0100
commit93b54ff7293142c6442f06e195e146de4ecbf3cf (patch)
treeefa492214cc2cd8b1d2106a2bcde6cd8db60e704 /target/config
parent410631c902385255d9447bef8e892ddb2790f8d3 (diff)
add frv arch support (very experimental)
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.binfmt13
-rw-r--r--target/config/Config.in.cpu7
-rw-r--r--target/config/Config.in.gcc2
3 files changed, 13 insertions, 9 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt
index c66728f69..e83915cc3 100644
--- a/target/config/Config.in.binfmt
+++ b/target/config/Config.in.binfmt
@@ -6,8 +6,9 @@ prompt "Binary Format"
depends on ADK_TARGET_ARCH_ARM \
|| ADK_TARGET_ARCH_BFIN \
|| ADK_TARGET_ARCH_C6X \
- || ADK_TARGET_ARCH_H8300\
- || ADK_TARGET_ARCH_LM32\
+ || ADK_TARGET_ARCH_FRV \
+ || ADK_TARGET_ARCH_H8300 \
+ || ADK_TARGET_ARCH_LM32 \
|| ADK_TARGET_ARCH_M68K
config ADK_TARGET_BINFMT_ELF
@@ -16,13 +17,13 @@ config ADK_TARGET_BINFMT_ELF
config ADK_TARGET_BINFMT_FDPIC
bool "FDPIC"
- depends on ADK_TARGET_ARCH_BFIN
+ depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV
config ADK_TARGET_BINFMT_FLAT
bool "FLAT"
select ADK_TARGET_UCLINUX if ADK_TARGET_ARCH_BFIN
depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K) && ADK_TARGET_UCLINUX \
- || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN
+ || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV
config ADK_TARGET_BINFMT_DSBT
bool "DSBT"
@@ -33,7 +34,7 @@ endchoice
# Set up flat binary type
choice
prompt "FLAT Binary type"
-depends on ADK_TARGET_BINFMT_FLAT && !ADK_TARGET_ARCH_H8300
+depends on ADK_TARGET_BINFMT_FLAT && ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN
default ADK_TARGET_BINFMT_FLAT_ONE
config ADK_TARGET_BINFMT_FLAT_ONE
@@ -43,14 +44,12 @@ config ADK_TARGET_BINFMT_FLAT_ONE
config ADK_TARGET_BINFMT_FLAT_SEP_DATA
bool "Separate data and code region"
- depends on ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN
help
Allow for the data and text segments to be separated and placed in
different regions of memory.
config ADK_TARGET_BINFMT_FLAT_SHARED
bool "Shared binary"
- select ADK_TARGET_BINFMT_SUPPORTS_SHARED
help
Allow to load and link indiviual FLAT binaries at run time.
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 1f00a5eda..3af630daf 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -460,6 +460,12 @@ config ADK_CPU_GEODE
select ADK_TARGET_WITH_NPTL
select ADK_TARGET_WITH_MMU
+config ADK_CPU_FRV
+ bool
+ select ADK_TARGET_WITHOUT_MMU
+ select ADK_TARGET_WITHOUT_THREADS
+ select ADK_TARGET_WITHOUT_CXX
+
config ADK_CPU_H8300
bool
select ADK_TARGET_WITHOUT_MMU
@@ -924,6 +930,7 @@ config ADK_TARGET_CPU_ARCH
default "c6x" if ADK_CPU_C6X
default "cris" if ADK_CPU_CRIS_V10
default "crisv32" if ADK_CPU_CRIS_V32
+ default "frv" if ADK_TARGET_ARCH_FRV
default "i486" if ADK_CPU_I486
default "i586" if ADK_CPU_I586
default "i686" if ADK_CPU_I686
diff --git a/target/config/Config.in.gcc b/target/config/Config.in.gcc
index 5e3c5f0fe..a9a7517b4 100644
--- a/target/config/Config.in.gcc
+++ b/target/config/Config.in.gcc
@@ -64,8 +64,6 @@ config ADK_TOOLCHAIN_GCC_4_8_ARC
config ADK_TOOLCHAIN_GCC_4_7_4
bool "4.7.4"
- depends on ADK_TARGET_ARCH_C6X \
- || ADK_TARGET_ARCH_SPARC
config ADK_TOOLCHAIN_GCC_4_5_4
bool "4.5.4"