1 SKELETONS = rss.bpf.skeleton.h
3 LLVM_STRIP ?= llvm-strip
5 INC_FLAGS = `$(CLANG) -print-file-name=include`
6 EXTRA_CFLAGS ?= -O2 -g -target bpf
13 rm -f $(SKELETONS) $(SKELETONS:%.skeleton.h=%.o)
16 $(CLANG) $(INC_FLAGS) \
17 -D__KERNEL__ -D__ASM_SYSREG_H \
18 -I../include $(LINUXINCLUDE) \
19 $(EXTRA_CFLAGS) -c $< -o $@
23 bpftool gen skeleton $< > $@