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 (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
91LLVM_OBJCOPY ?= llvm-objcopy91LLVM_OBJCOPY ?= llvm-objcopy
92LLVM_STRIP ?= llvm-strip92LLVM_STRIP ?= llvm-strip
93 93
94# Some tools require bpftool
95BPFTOOL ?= bpftool
96
94ifeq ($(CC_NO_CLANG), 1)97ifeq ($(CC_NO_CLANG), 1)
95EXTRA_WARNINGS += -Wstrict-aliasing=398EXTRA_WARNINGS += -Wstrict-aliasing=3
96 99