diff options
author | Quentin Monnet <quentin@isovalent.com> | 2021-10-07 21:44:38 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-08 21:02:40 +0200 |
commit | d7db0a4e8d95101ebb545444578ba7085c270e5f (patch) | |
tree | a9ea0b8eda8642510eaad64613d5e37d66bd11d0 /kernel | |
parent | selftests/bpf: Better clean up for runqslower in test_bpftool_build.sh (diff) | |
download | linux-d7db0a4e8d95101ebb545444578ba7085c270e5f.tar.xz linux-d7db0a4e8d95101ebb545444578ba7085c270e5f.zip |
bpftool: Add install-bin target to install binary only
With "make install", bpftool installs its binary and its bash completion
file. Usually, this is what we want. But a few components in the kernel
repository (namely, BPF iterators and selftests) also install bpftool
locally before using it. In such a case, bash completion is not
necessary and is just a useless build artifact.
Let's add an "install-bin" target to bpftool, to offer a way to install
the binary only.
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211007194438.34443-13-quentin@isovalent.com
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/preload/iterators/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/preload/iterators/Makefile b/kernel/bpf/preload/iterators/Makefile index a4aedc7b0728..b8bd60511227 100644 --- a/kernel/bpf/preload/iterators/Makefile +++ b/kernel/bpf/preload/iterators/Makefile @@ -66,4 +66,4 @@ $(DEFAULT_BPFTOOL): $(BPFOBJ) | $(BPFTOOL_OUTPUT) OUTPUT=$(BPFTOOL_OUTPUT)/ \ LIBBPF_OUTPUT=$(LIBBPF_OUTPUT)/ \ LIBBPF_DESTDIR=$(LIBBPF_DESTDIR)/ \ - prefix= DESTDIR=$(abs_out)/ install + prefix= DESTDIR=$(abs_out)/ install-bin |