From 473f094c7d635cc0d1b889eb6d496baf51d03fc6 Mon Sep 17 00:00:00 2001 From: Ilya Gavrilin Date: Mon, 8 Jun 2026 18:23:30 +0300 Subject: [PATCH] 8385323: RISC-V: Support with-hsdis=capstone for riscv --- make/Hsdis.gmk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make/Hsdis.gmk b/make/Hsdis.gmk index 76695fc8dde..e9328879657 100644 --- a/make/Hsdis.gmk +++ b/make/Hsdis.gmk @@ -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