summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-20 12:28:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-20 12:28:57 +0100
commit07e19a2d678831f98fd944f3e41b969ad786c025 (patch)
tree8732e380422d488cc7937c843c1018e570461996
parent9301a1cf9ceed72fd38a9617041800ec931a6542 (diff)
fix archs compile, loader is only used by arc32/arc64
-rw-r--r--target/arc/systems/qemu-arc1
-rw-r--r--target/config/Config.in.binutils3
-rw-r--r--target/config/Config.in.compiler3
-rw-r--r--target/config/Config.in.cpu2
4 files changed, 6 insertions, 3 deletions
diff --git a/target/arc/systems/qemu-arc b/target/arc/systems/qemu-arc
index 3c8445eb9..017042e3a 100644
--- a/target/arc/systems/qemu-arc
+++ b/target/arc/systems/qemu-arc
@@ -3,7 +3,6 @@ config ADK_TARGET_SYSTEM_QEMU_ARC
select ADK_TARGET_QEMU
select ADK_TARGET_KERNEL_WITH_COMPRESSION
select ADK_TARGET_LITTLE_ENDIAN
- select ADK_TARGET_KERNEL_LOADER
help
Support for QEMU ARC Emulator.
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index 26c0b2fd5..4bc9e36e4 100644
--- a/target/config/Config.in.binutils
+++ b/target/config/Config.in.binutils
@@ -3,7 +3,8 @@
choice
prompt "Binutils version"
-default ADK_TOOLCHAIN_BINUTILS_ARC if ADK_TARGET_ARCH_ARC
+default ADK_TOOLCHAIN_BINUTILS_ARC if ADK_TARGET_CPU_ARC_ARC32
+default ADK_TOOLCHAIN_BINUTILS_ARC if ADK_TARGET_CPU_ARC_ARC64
default ADK_TOOLCHAIN_BINUTILS_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_BINUTILS_KVX if ADK_TARGET_ARCH_KVX
default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_CPU_SH_J2
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 3bbdcbaf1..170be2ccb 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -12,7 +12,8 @@ endchoice
choice
prompt "GCC version"
depends on ADK_BUILD_COMPILER_GCC
-default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
+default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_CPU_ARC_ARC32
+default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_CPU_ARC_ARC64
default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_GCC_KVX if ADK_TARGET_ARCH_KVX
default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 2baebc34e..dbe21758d 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -91,6 +91,7 @@ config ADK_TARGET_CPU_ARC_ARC32
select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_KERNEL_LOADER
depends on ADK_TARGET_ARCH_ARC
config ADK_TARGET_CPU_ARC_ARC64
@@ -99,6 +100,7 @@ config ADK_TARGET_CPU_ARC_ARC64
select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_KERNEL_LOADER
depends on ADK_TARGET_ARCH_ARC
# arm