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.
Showing the changes to tools/scripts/Makefile.include (1 of 3 files). Show all
Unified · Split
| @@ -91,6 +91,9 @@ LLVM_CONFIG ?= llvm-config · 90 unmodified lines | ||
| 91 | 91 | LLVM_OBJCOPY ?= llvm-objcopy |
| 92 | 92 | LLVM_STRIP ?= llvm-strip |
| 93 | 93 | |
| 94 | +# Some tools require bpftool | |
| 95 | +BPFTOOL ?= bpftool | |
| 96 | + | |
| 94 | 97 | ifeq ($(CC_NO_CLANG), 1) |
| 95 | 98 | EXTRA_WARNINGS += -Wstrict-aliasing=3 |
| 96 | 99 | |