summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-04 17:39:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-11-04 17:39:59 +0100
commitfde681d8d651c8074e2c0a92e153f942eeb01991 (patch)
tree688e3252a6645934b1123c6955dbcf475fddecb0 /target
parentb3fcbca1e1cf12c41d02eb8474893bd576c71714 (diff)
sh2: fix toolchain building, using bFLT
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.binfmt5
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/config/Config.in.runtime2
3 files changed, 8 insertions, 3 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt
index a3f089ca5..01a5969b9 100644
--- a/target/config/Config.in.binfmt
+++ b/target/config/Config.in.binfmt
@@ -9,7 +9,8 @@ depends on ADK_TARGET_ARCH_ARM \
|| ADK_TARGET_ARCH_FRV \
|| ADK_TARGET_ARCH_H8300 \
|| ADK_TARGET_ARCH_LM32 \
- || ADK_TARGET_ARCH_M68K
+ || ADK_TARGET_ARCH_M68K \
+ || ADK_TARGET_ARCH_SH
config ADK_TARGET_BINFMT_ELF
bool "ELF"
@@ -22,7 +23,7 @@ config ADK_TARGET_BINFMT_FDPIC
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_WITHOUT_MMU \
+ depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_SH ) && ADK_TARGET_WITHOUT_MMU \
|| ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV
config ADK_TARGET_BINFMT_DSBT
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 183c3ffd3..43e0def8f 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -612,10 +612,14 @@ config ADK_CPU_PPC64
config ADK_CPU_SH2
bool
select ADK_TARGET_WITHOUT_MMU
+ select ADK_TARGET_WITH_LT
+ select ADK_TARGET_WITHOUT_CXX
config ADK_CPU_SH2A
bool
select ADK_TARGET_WITHOUT_MMU
+ select ADK_TARGET_WITH_LT
+ select ADK_TARGET_WITHOUT_CXX
config ADK_CPU_SH3
bool
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 221fadecf..bc9470cdf 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -290,7 +290,7 @@ config ADK_ROOTSH_SASH
config ADK_ROOTSH_HUSH
bool "hush (busybox shell compatible with non-MMU systems)"
select BUSYBOX_HUSH if !ADK_TOOLCHAIN_ONLY
- select BUSYBOX_FEATURE_SH_IS_HUSH
+ select BUSYBOX_FEATURE_SH_IS_HUSH if !ADK_TOOLCHAIN_ONLY
help
hush shell from busybox.