mirror of https://github.com/xemu-project/xemu.git
kconfig: use "select" to enable semihosting
Just like all other dependencies, these can be expressed in Kconfig files rather than in the default configurations. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20240129115809.1039924-1-pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240207163812.3231697-10-alex.bennee@linaro.org>
This commit is contained in:
parent
1fed4cd04d
commit
2df1eb2756
|
@ -1,7 +1,5 @@
|
||||||
# Default configuration for m68k-softmmu
|
# Default configuration for m68k-softmmu
|
||||||
|
|
||||||
CONFIG_SEMIHOSTING=y
|
|
||||||
|
|
||||||
# Boards:
|
# Boards:
|
||||||
#
|
#
|
||||||
CONFIG_AN5206=y
|
CONFIG_AN5206=y
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# Common mips*-softmmu CONFIG defines
|
# Common mips*-softmmu CONFIG defines
|
||||||
|
|
||||||
# CONFIG_SEMIHOSTING is always required on this architecture
|
|
||||||
CONFIG_SEMIHOSTING=y
|
|
||||||
|
|
||||||
CONFIG_ISA_BUS=y
|
CONFIG_ISA_BUS=y
|
||||||
CONFIG_PCI=y
|
CONFIG_PCI=y
|
||||||
CONFIG_PCI_DEVICES=y
|
CONFIG_PCI_DEVICES=y
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
# Default configuration for nios2-softmmu
|
# Default configuration for nios2-softmmu
|
||||||
|
|
||||||
CONFIG_SEMIHOSTING=y
|
|
||||||
|
|
||||||
# Boards:
|
# Boards:
|
||||||
#
|
#
|
||||||
CONFIG_NIOS2_10M50=y
|
CONFIG_NIOS2_10M50=y
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
# Uncomment the following lines to disable these optional devices:
|
# Uncomment the following lines to disable these optional devices:
|
||||||
#
|
#
|
||||||
#CONFIG_PCI_DEVICES=n
|
#CONFIG_PCI_DEVICES=n
|
||||||
CONFIG_SEMIHOSTING=y
|
|
||||||
CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
|
|
||||||
|
|
||||||
# Boards:
|
# Boards:
|
||||||
#
|
#
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
# Uncomment the following lines to disable these optional devices:
|
# Uncomment the following lines to disable these optional devices:
|
||||||
#
|
#
|
||||||
#CONFIG_PCI_DEVICES=n
|
#CONFIG_PCI_DEVICES=n
|
||||||
CONFIG_SEMIHOSTING=y
|
|
||||||
CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
|
|
||||||
|
|
||||||
# Boards:
|
# Boards:
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
# Default configuration for Xtensa
|
# Default configuration for Xtensa
|
||||||
|
|
||||||
CONFIG_SEMIHOSTING=y
|
|
||||||
|
|
||||||
# Boards:
|
# Boards:
|
||||||
#
|
#
|
||||||
CONFIG_XTENSA_SIM=y
|
CONFIG_XTENSA_SIM=y
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
config M68K
|
config M68K
|
||||||
bool
|
bool
|
||||||
|
select SEMIHOSTING
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
config MIPS
|
config MIPS
|
||||||
bool
|
bool
|
||||||
|
select SEMIHOSTING
|
||||||
|
|
||||||
config MIPS64
|
config MIPS64
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
config NIOS2
|
config NIOS2
|
||||||
bool
|
bool
|
||||||
|
select SEMIHOSTING
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
config RISCV32
|
config RISCV32
|
||||||
bool
|
bool
|
||||||
|
select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
|
||||||
|
|
||||||
config RISCV64
|
config RISCV64
|
||||||
bool
|
bool
|
||||||
|
select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
config XTENSA
|
config XTENSA
|
||||||
bool
|
bool
|
||||||
|
select SEMIHOSTING
|
||||||
|
|
Loading…
Reference in New Issue