Skip to content

Commit

Permalink
Build tricore_il only when cs =next or >v4 (#4102)
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow authored Jan 13, 2024
1 parent ce88bbe commit 524fe19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion librz/analysis/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ rz_analysis_sources = [
'arch/x86/x86_il.c',
'arch/8051/8051_il.c',
'arch/8051/8051_parse.c',
'arch/tricore/tricore_il.c',
'../asm/arch/amd29k/amd29k.c',
'../asm/arch/avr/disassembler.c',
'../asm/arch/cil/cil_dis.c',
Expand Down Expand Up @@ -243,6 +242,7 @@ rz_analysis_sources = [
if capstone_dep.version() == 'next' or capstone_dep.version().split('.')[0].to_int() > 4
rz_analysis_sources += 'p/analysis_riscv_cs.c'
rz_analysis_sources += 'p/analysis_tricore_cs.c'
rz_analysis_sources +='arch/tricore/tricore_il.c'
endif

if get_option('use_gpl')
Expand Down
1 change: 1 addition & 0 deletions librz/asm/arch/tricore/tricore.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: 2023 billow <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <capstone/capstone.h>
#include <capstone/tricore.h>
#include "tricore.h"

Expand Down

0 comments on commit 524fe19

Please sign in to comment.