qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 6/6] disas: Select capstone targets by default


From: Philippe Mathieu-Daudé
Subject: [RFC PATCH 6/6] disas: Select capstone targets by default
Date: Sat, 4 Jan 2025 00:17:38 +0100

When capstone is available, we get ARM/X86/PPC/S390X
disassemblers in common_ss[] for free.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 disas/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/disas/Kconfig b/disas/Kconfig
index 1d2c397c953..8af8ecd5c81 100644
--- a/disas/Kconfig
+++ b/disas/Kconfig
@@ -3,6 +3,7 @@ config ALPHA_DIS
 
 config ARM_DIS
     bool
+    default y if CAPSTONE
 
 config AVR_DIS
     bool
@@ -15,6 +16,7 @@ config HPPA_DIS
 
 config I386_DIS
     bool
+    default y if CAPSTONE
 
 config LOONGARCH_DIS
     bool
@@ -33,6 +35,7 @@ config OPENRISC_DIS
 
 config PPC_DIS
     bool
+    default y if CAPSTONE
 
 config RISCV_DIS
     bool
@@ -42,6 +45,7 @@ config RX_DIS
 
 config S390_DIS
     bool
+    default y if CAPSTONE
 
 config SH4_DIS
     bool
-- 
2.47.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]