[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/10] target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 09/10] target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target Kconfig |
Date: |
Sun, 31 Jan 2021 12:13:15 +0100 |
ARM_COMPATIBLE_SEMIHOSTING is an architecture feature, move its
declaration to each target/ARCH/.
Note, we do not modify the linux-user targets, as user-mode builds
don't use Kconfig.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
default-configs/devices/arm-softmmu.mak | 1 -
default-configs/devices/riscv32-softmmu.mak | 1 -
default-configs/devices/riscv64-softmmu.mak | 1 -
target/arm/Kconfig | 1 +
target/riscv/Kconfig | 2 ++
5 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/default-configs/devices/arm-softmmu.mak
b/default-configs/devices/arm-softmmu.mak
index 341d439de6f..0824e9be795 100644
--- a/default-configs/devices/arm-softmmu.mak
+++ b/default-configs/devices/arm-softmmu.mak
@@ -41,5 +41,4 @@ CONFIG_MICROBIT=y
CONFIG_FSL_IMX25=y
CONFIG_FSL_IMX7=y
CONFIG_FSL_IMX6UL=y
-CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
CONFIG_ALLWINNER_H3=y
diff --git a/default-configs/devices/riscv32-softmmu.mak
b/default-configs/devices/riscv32-softmmu.mak
index 5c9ad2590ef..94a236c9c25 100644
--- a/default-configs/devices/riscv32-softmmu.mak
+++ b/default-configs/devices/riscv32-softmmu.mak
@@ -3,7 +3,6 @@
# Uncomment the following lines to disable these optional devices:
#
#CONFIG_PCI_DEVICES=n
-CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
# Boards:
#
diff --git a/default-configs/devices/riscv64-softmmu.mak
b/default-configs/devices/riscv64-softmmu.mak
index d5b2e25b6df..76b61956489 100644
--- a/default-configs/devices/riscv64-softmmu.mak
+++ b/default-configs/devices/riscv64-softmmu.mak
@@ -3,7 +3,6 @@
# Uncomment the following lines to disable these optional devices:
#
#CONFIG_PCI_DEVICES=n
-CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
# Boards:
#
diff --git a/target/arm/Kconfig b/target/arm/Kconfig
index 1f05de47ca6..ae89d05c7e5 100644
--- a/target/arm/Kconfig
+++ b/target/arm/Kconfig
@@ -1,5 +1,6 @@
config ARM
bool
+ select ARM_COMPATIBLE_SEMIHOSTING
config AARCH64
bool
diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig
index b9e5932f13f..c3b9d8a1cf1 100644
--- a/target/riscv/Kconfig
+++ b/target/riscv/Kconfig
@@ -1,5 +1,7 @@
config RISCV32
bool
+ select ARM_COMPATIBLE_SEMIHOSTING
config RISCV64
bool
+ select ARM_COMPATIBLE_SEMIHOSTING
--
2.26.2
- [PATCH 00/10] target: Provide target-specific Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 01/10] hw/sh4/Kconfig: Rename CONFIG_SH4 -> CONFIG_SH4_PERIPHERALS, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 02/10] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 03/10] hw/sh4/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_PERIPHERALS, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 04/10] hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 05/10] meson: Introduce target-specific Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 06/10] target/i386: Move SEV feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 07/10] target/arm: Move V7M feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 08/10] default-configs: Remove unnecessary SEMIHOSTING selection, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 09/10] target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target Kconfig,
Philippe Mathieu-Daudé <=
- [PATCH 10/10] target: Move SEMIHOSTING feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31