[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
- [RFC PATCH 0/6] disas: Allow linking multiple disassemblers in a heterogeneous binary, Philippe Mathieu-Daudé, 2025/01/03
- [RFC PATCH 1/6] target: Only link capstone to targets requiring it, Philippe Mathieu-Daudé, 2025/01/03
- [RFC PATCH 2/6] target/hexagon: Add Kconfig file, Philippe Mathieu-Daudé, 2025/01/03
- [RFC PATCH 3/6] target/xtensa: Move xtensa-isa.c to common_ss[], Philippe Mathieu-Daudé, 2025/01/03
- [RFC PATCH 4/6] disas: Have each system target select its disassembler, Philippe Mathieu-Daudé, 2025/01/03
- [RFC PATCH 5/6] Kconfig: Expose host CONFIG_CAPSTONE definition, Philippe Mathieu-Daudé, 2025/01/03
- [RFC PATCH 6/6] disas: Select capstone targets by default,
Philippe Mathieu-Daudé <=