From 770d42302c949880c90d2cfa4f04f7a426bb0b0a Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sun, 22 Jan 2023 15:04:00 +0100
Subject: fix sh2 toolchain building

---
 target/config/Config.in.elf2flt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'target/config')

diff --git a/target/config/Config.in.elf2flt b/target/config/Config.in.elf2flt
index df7e5a4ef..6a9b92de0 100644
--- a/target/config/Config.in.elf2flt
+++ b/target/config/Config.in.elf2flt
@@ -9,9 +9,11 @@ depends on ADK_TARGET_BINFMT_FLAT
 config ADK_TOOLCHAIN_ELF2FLT_2021_08
 	bool "2021-08"
 	depends on !ADK_TARGET_ARCH_BFIN
+	depends on !ADK_TARGET_ARCH_SH
 
 config ADK_TOOLCHAIN_ELF2FLT_OLD
 	bool "old version"
-	depends on ADK_TARGET_ARCH_BFIN
+	depends on ADK_TARGET_ARCH_BFIN || \
+		ADK_TARGET_ARCH_SH
 
 endchoice
-- 
cgit v1.2.3