diff options
author | Yuntao Wang <ytcoode@gmail.com> | 2022-02-26 19:38:15 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-02-28 18:06:21 +0300 |
commit | c62dd8a58d19fa35b60c84ab2435ac3ad0d3777e (patch) | |
tree | bc9bbad19ae66feb0782ea2471b3b7d5294a0db5 /kernel/bpf/stackmap.c | |
parent | 5e214f2e43e453d862ebbbd2a4f7ee3fe650f209 (diff) | |
download | linux-c62dd8a58d19fa35b60c84ab2435ac3ad0d3777e.tar.xz |
bpftool: Remove redundant slashes
Because the OUTPUT variable ends with a slash but CURDIR doesn't, to keep
the _OUTPUT value consistent, we add a trailing slash to CURDIR when
defining _OUTPUT variable.
Since the _OUTPUT variable holds a value ending with a trailing slash,
there is no need to add another one when defining BOOTSTRAP_OUTPUT and
LIBBPF_OUTPUT variables. Likewise, when defining LIBBPF_INCLUDE and
LIBBPF_BOOTSTRAP_INCLUDE, we shouldn't add an extra slash either for the
same reason.
When building libbpf, the value of the DESTDIR argument should also not
end with a trailing slash.
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220226163815.520133-1-ytcoode@gmail.com
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions