2022-02-25 16:47:27

by Quentin Monnet

[permalink] [raw]
Subject: Re: [PATCH bpf-next] bpftool: Remove redundant slashes

2022-02-26 00:15 UTC+0800 ~ Yuntao Wang <[email protected]>
> 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 <[email protected]>

Looks correct to me, thanks!

Reviewed-by: Quentin Monnet <[email protected]>