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

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 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