Move the bpf pseudo plugin logic

This commit is contained in:
pancake 2024-08-26 09:16:05 +02:00 committed by pancake
parent 2c718ab8a5
commit dff5accb26
3 changed files with 3 additions and 12 deletions

View File

@ -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

View File

@ -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',

View File

@ -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}