summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-23 20:06:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-23 20:07:43 +0200
commit2732d11217f23735dd2af72bd25e5ce61d3cbe68 (patch)
tree292bb2acf1be1949a75a99b7c5994a70979ad786 /target/config
parent0163b5568f6468a0c173d8a7ec6128fba6e92699 (diff)
riscv32: no thread support, reduce kernel config
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index ef50f0303..bf4a588eb 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -1144,25 +1144,25 @@ config ADK_TARGET_CPU_PPC64_POWERPC64
# riscv
config ADK_TARGET_CPU_RISCV32_RV32IMAC
bool "rv32imac"
- select ADK_TARGET_SUPPORTS_THREADS
- select ADK_TARGET_SUPPORTS_NPTL
- select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
select ADK_TARGET_ABI_ILP32
depends on ADK_TARGET_ARCH_RISCV32
config ADK_TARGET_CPU_RISCV32_RV32IMAFC
bool "rv32imafc"
- select ADK_TARGET_SUPPORTS_THREADS
- select ADK_TARGET_SUPPORTS_NPTL
- select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
select ADK_TARGET_ABI_ILP32F
depends on ADK_TARGET_ARCH_RISCV32
config ADK_TARGET_CPU_RISCV32_RV32IMADC
bool "rv32imadc"
- select ADK_TARGET_SUPPORTS_THREADS
- select ADK_TARGET_SUPPORTS_NPTL
- select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
select ADK_TARGET_ABI_ILP32D
depends on ADK_TARGET_ARCH_RISCV32