Browse Source

fix sh2 toolchain building

Waldemar Brodkorb 1 year ago
parent
commit
770d42302c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      target/config/Config.in.elf2flt

+ 3 - 1
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