pcp/redhat-bugzilla-2117074-vendored_vmlinux.h.patch
Nathan Scott e669491265 Rebase to pcp-6.0.1-1 with Andreas' patch for vendor libbpf builds
Resolves: rhbz#1941873
Resolves: rhbz#2117074
Resolves: rhbz#2127037
2022-10-28 10:13:58 +11:00

20 lines
589 B
Diff

commit 23bfdcbac0b0fb7bd33f092c6f2ad56889480335
Author: Andreas Gerstmayr <agerstmayr@redhat.com>
Date: Thu Oct 27 14:22:37 2022 +0200
build: use vendored vmlinux.h when compiling bpftool
diff --git a/vendor/GNUmakefile b/vendor/GNUmakefile
index a0c29d4b45..57151e4671 100644
--- a/vendor/GNUmakefile
+++ b/vendor/GNUmakefile
@@ -3,7 +3,7 @@ include $(TOPDIR)/src/include/builddefs
default_pcp default:
ifeq "$(PMDA_BPF)" "true"
- $(MAKE) -C github.com/libbpf/bpftool/src
+ $(MAKE) -C github.com/libbpf/bpftool/src VMLINUX_H=$(PMDABPF_VMLINUXH)
endif
install_pcp install: