8385323: RISC-V: Support with-hsdis=capstone for riscv

This commit is contained in:
Ilya Gavrilin 2026-06-08 18:23:30 +03:00
parent 4a84d0414e
commit 473f094c7d

View File

@ -47,6 +47,9 @@ ifeq ($(HSDIS_BACKEND), capstone)
else ifeq ($(call isTargetCpuArch, arm), true)
CAPSTONE_ARCH := CS_ARCH_ARM
CAPSTONE_MODE := CS_MODE_ARM
else ifeq ($(call isTargetCpuArch, riscv), true)
CAPSTONE_ARCH := CS_ARCH_RISCV
CAPSTONE_MODE := CS_MODE_RISCV64
else
$(error No support for Capstone on this platform)
endif