Lines Matching refs:bpf
13 LIBBPF_SRC = $(TOOLS_PATH)/lib/bpf
85 BTF_LLC_PROBE := $(shell $(LLC) -march=bpf -mattr=help 2>&1 | grep dwarfris)
89 $(CLANG) --target=bpf -O2 -g -c -x c - -o ./llvm_btf_verify.o; \
121 BPFTOOLDIR := $(TOOLS_PATH)/bpf/bpftool
147 @if ! (${LLC} -march=bpf -mattr=help > /dev/null 2>&1); then \
199 $(obj)/%.bpf.o: $(src)/%.bpf.c $(EXTRA_BPF_HEADERS_SRC) $(obj)/vmlinux.h
201 $(Q)$(CLANG) -g -O2 --target=bpf -D__TARGET_ARCH_$(SRCARCH) \
203 -I$(srctree)/samples/bpf -I$(srctree)/tools/include \
205 -c $(filter %.bpf.c,$^) -o $@
210 hid_mouse.skel.h-deps := hid_mouse.bpf.o hid_bpf_attach.bpf.o
211 hid_surface_dial.skel.h-deps := hid_surface_dial.bpf.o hid_bpf_attach.bpf.o
213 LINKED_BPF_SRCS := $(patsubst %.bpf.o,%.bpf.c,$(foreach skel,$(LINKED_SKELS),$($(skel)-deps)))
215 BPF_SRCS_LINKED := $(notdir $(wildcard $(src)/*.bpf.c))
216 BPF_OBJS_LINKED := $(patsubst %.bpf.c,$(obj)/%.bpf.o, $(BPF_SRCS_LINKED))
236 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \
246 $(OPT) -O2 -mtriple=bpf-pc-linux | $(LLVM_DIS) | \
247 $(LLC) -march=bpf $(LLC_FLAGS) -filetype=obj -o $@