History

tools/build: Add bpftool-skeletons feature test

Add bpftool-skeletons feature test, testing the presence of a bpftool capable of generating skeletons. This is to be used for tools that do not require building their own bootstrap bpftool from the kernel source tree.

Tomas Glozar committed 1 year ago

Commit 8a635c31 parent 6fa5e3a3 files · +8 −1Browse files

Showing the changes to tools/scripts/Makefile.include (1 of 3 files). Show all

Unified · Split

tools/scripts/Makefile.include+3−0
@@ -91,6 +91,9 @@ LLVM_CONFIG ?= llvm-config · 90 unmodified lines
9191 LLVM_OBJCOPY ?= llvm-objcopy
9292 LLVM_STRIP ?= llvm-strip
9393
94+# Some tools require bpftool
95+BPFTOOL ?= bpftool
96+
9497 ifeq ($(CC_NO_CLANG), 1)
9598 EXTRA_WARNINGS += -Wstrict-aliasing=3
9699