We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997aa73 commit 2bef6fcCopy full SHA for 2bef6fc
Makefile
@@ -77,11 +77,11 @@ $(LIBBPFGO_DIR): always-check
77
echo "INFO: updating submodule 'libbpfgo'"
78
$(GIT) submodule update --init --recursive $@
79
80
-$(LIBBPFGO_DIR)/vmlinux.h: $(LIBBFGO_DIR)
+$(LIBBPF_OUTPUT)/vmlinux.h: $(LIBBFGO_DIR)
81
mkdir -p $(LIBBPF_OUTPUT)
82
- $(BPFTOOL) btf dump file /sys/kernel/btf/vmlinux format c > ./third_party/libbpfgo/output/vmlinux.h
+ $(BPFTOOL) btf dump file /sys/kernel/btf/vmlinux format c > $@
83
84
-$(LIBBPF_LIB): $(LIBBPFGO_DIR) $(LIBBPFGO_DIR)/vmlinux.h
+$(LIBBPF_LIB): $(LIBBPFGO_DIR) $(LIBBPF_OUTPUT)/vmlinux.h
85
make -C $(LIBBPFGO_DIR) libbpfgo-static
86
87
%.bpf.o: %.bpf.c $(LIBBPF_LIB)
0 commit comments