On 6/9/22 00:24, Alex Bennée wrote:
--- a/configs/targets/riscv64-linux-user.mak
+++ b/configs/targets/riscv64-linux-user.mak
@@ -2,4 +2,5 @@ TARGET_ARCH=riscv64
  TARGET_BASE_ARCH=riscv
  TARGET_ABI_DIR=riscv
  TARGET_XML_FILES= gdb-xml/riscv-64bit-cpu.xml gdb-xml/riscv-32bit-fpu.xml 
gdb-xml/riscv-64bit-fpu.xml gdb-xml/riscv-64bit-virtual.xml
+CONFIG_SEMIHOSTING=y
  CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y

Why are these needed? The:

config ARM_COMPATIBLE_SEMIHOSTING
        bool
        select SEMIHOSTING

stanza should ensure we select SEMIHOSTING automatically.

Kconfig is not processed for linux-user.


r~

Reply via email to