Re: [PATCH bpf-next] bpftool: Remove redundant slashes
From: Quentin Monnet <hidden>
Date: 2022-02-25 16:38:51
Also in:
bpf, lkml
From: Quentin Monnet <hidden>
Date: 2022-02-25 16:38:51
Also in:
bpf, lkml
2022-02-26 00:15 UTC+0800 ~ Yuntao Wang [off-list ref]
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. 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 <redacted>
Looks correct to me, thanks! Reviewed-by: Quentin Monnet <redacted>