On 26/12/24 22:19, Jiaxun Yang wrote:
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
MAINTAINERS | 4 ++--
configs/devices/loongarch32-softmmu/default.mak | 7 +++++++
configs/targets/loongarch32-softmmu.mak | 7 +++++++
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/configs/targets/loongarch32-softmmu.mak b/configs/targets/loongarch32-
softmmu.mak
new file mode 100644
index
0000000000000000000000000000000000000000..50e0075a24ac6bf3717db967b03b816b52a25964
--- /dev/null
+++ b/configs/targets/loongarch32-softmmu.mak
@@ -0,0 +1,7 @@
+TARGET_ARCH=loongarch32
+TARGET_BASE_ARCH=loongarch
+TARGET_KVM_HAVE_GUEST_DEBUG=y
+TARGET_SUPPORTS_MTTCG=y
+TARGET_XML_FILES= gdb-xml/loongarch-base32.xml gdb-xml/loongarch-fpu.xml gdb-xml/
loongarch-lsx.xml gdb-xml/loongarch-lasx.xml
+# all boards require libfdt
+TARGET_NEED_FDT=y
I'd really like, if possible, to not add a new target, but make the
current loongarch64-softmmu.mak evolve to support both 32/64 modes.