Use capstone for ARM disassembler
Change-Id: I1c9bf3f8178d4a06babe23a918e4411833ebc418 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/4812 Tested-by: jenkins Reviewed-by: Fredrik Hederstierna <fredrik@hederstierna.com> Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
762ddcb749
commit
67008e1bea
@@ -7,6 +7,7 @@ endif
|
||||
%C%_libtarget_la_LIBADD = %D%/openrisc/libopenrisc.la \
|
||||
%D%/riscv/libriscv.la
|
||||
|
||||
%C%_libtarget_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
STARTUP_TCL_SRCS += %D%/startup.tcl
|
||||
|
||||
@@ -33,6 +34,11 @@ noinst_LTLIBRARIES += %D%/libtarget.la
|
||||
$(ARMV8_SRC) \
|
||||
$(MIPS64_SRC)
|
||||
|
||||
if HAVE_CAPSTONE
|
||||
%C%_libtarget_la_CPPFLAGS += $(CAPSTONE_CFLAGS)
|
||||
%C%_libtarget_la_LIBADD += $(CAPSTONE_LIBS)
|
||||
endif
|
||||
|
||||
TARGET_CORE_SRC = \
|
||||
%D%/algorithm.c \
|
||||
%D%/register.c \
|
||||
|
||||
Reference in New Issue
Block a user