Skip to content

Commit

Permalink
librz/arch: enable xtensa plugin only for capstone next (#4708)
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow authored Nov 11, 2024
1 parent c3c494d commit bb10d60
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions librz/arch/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -307,19 +307,33 @@ if capstone_dep.version() == 'next' or capstone_dep.version().split('.')[0].to_i
arch_plugins_list += [
'riscv_cs',
'tricore_cs',
'xtensa_cs',
]

# plugins sources
arch_plugin_sources += [
'p/arch_riscv_cs.c',
'p/arch_tricore_cs.c',
'p/arch_xtensa_cs.c',
]

# isa sources
arch_isa_sources += [
'isa/tricore/tricore_il.c',
]
endif

if capstone_dep.version() == 'next'
# plugins
arch_plugins_list += [
'xtensa_cs',
]

# plugins sources
arch_plugin_sources += [
'p/arch_xtensa_cs.c',
]

# isa sources
arch_isa_sources += [
'isa/xtensa/xtensa.c',
'isa/xtensa/xtensa_esil.c',
]
Expand Down

0 comments on commit bb10d60

Please sign in to comment.