Currently, samples/bpf, tools/runqslower and bpf/iterators use bpftool for vmlinux.h, skeleton, and static linking only. We can uselightweight bootstrap version of bpftool to handle these, and it will be faster. v2: - make libbpf and bootstrap bpftool independent. and make it simple. v1: https://lore.kernel.org/bpf/20220712030813.865410-1-pulehui@xxxxxxxxxx Pu Lehui (3): samples: bpf: Fix cross-compiling error by using bootstrap bpftool tools: runqslower: build and use lightweight bootstrap version of bpftool bpf: iterators: build and use lightweight bootstrap version of bpftool kernel/bpf/preload/iterators/Makefile | 10 +++------- samples/bpf/Makefile | 10 ++++------ tools/bpf/runqslower/Makefile | 7 +++---- 3 files changed, 10 insertions(+), 17 deletions(-) -- 2.25.1