mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 15:10:53 +00:00
Move the bpf pseudo plugin logic
This commit is contained in:
parent
2c718ab8a5
commit
dff5accb26
@ -1,9 +1,5 @@
|
||||
/* radare - LGPL - Copyright 2022 - pancake */
|
||||
/* radare - LGPL - Copyright 2022-2024 - pancake */
|
||||
|
||||
#include <r_lib.h>
|
||||
#include <r_util.h>
|
||||
#include <r_flag.h>
|
||||
#include <r_anal.h>
|
||||
#include <r_parse.h>
|
||||
|
||||
#define MAXARGS 4
|
@ -20,7 +20,7 @@ r_asm_sources = [
|
||||
'../arch/p/pseudo/evm_pseudo.c',
|
||||
'../arch/p/pseudo/dalvik_pseudo.c',
|
||||
'../arch/p/pseudo/chip8_pseudo.c',
|
||||
'../arch/p/pseudo/bpf_pseudo.c',
|
||||
'../arch/p/bpf/pseudo.c',
|
||||
'../arch/p/pseudo/6502_pseudo.c',
|
||||
'../arch/p/arm/pseudo.c',
|
||||
'../arch/p/x86_nz/pseudo.c',
|
||||
|
@ -1,14 +1,9 @@
|
||||
OBJ_BPF_PSEUDO+=$(LIBR)/arch/p/pseudo/bpf_pseudo.o
|
||||
OBJ_BPF_PSEUDO+=$(LIBR)/arch/p/bpf/pseudo.o
|
||||
|
||||
TARGET_BPF_PSEUDO=parse_bpf_pseudo.${EXT_SO}
|
||||
STATIC_OBJ+=${OBJ_BPF_PSEUDO}
|
||||
ifeq ($(CC),cccl)
|
||||
LIBDEPS=-L../../util -llibr_util
|
||||
LIBDEPS+=-L../../flag -llibr_flag
|
||||
else
|
||||
LIBDEPS=-L../../util -lr_util
|
||||
LIBDEPS+=-L../../flag -lr_flag
|
||||
endif
|
||||
|
||||
ifeq ($(WITHPIC),1)
|
||||
ALL_TARGETS+=${TARGET_BPF_PSEUDO}
|
||||
|
Loading…
Reference in New Issue
Block a user