From 93b54ff7293142c6442f06e195e146de4ecbf3cf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 27 Oct 2015 21:44:57 +0100 Subject: add frv arch support (very experimental) --- target/config/Config.in.binfmt | 13 ++++++------- target/config/Config.in.cpu | 7 +++++++ target/config/Config.in.gcc | 2 -- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'target/config') 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" -- cgit v1.2.3