Re: [PATCHv2 bpf-next 0/4] kbuild/resolve_btfids: Invoke resolve_btfids clean in root Makefile

Andrii Nakryiko
2021-02-06T03:01:57Z

On Fri, Feb 5, 2021 at 4:45 AM Jiri Olsa <jolsa@kernel.org> wrote:
>
> hi,
> resolve_btfids tool is used during the kernel build,
> so we should clean it on kernel's make clean.
>
> v2 changes:
> - add Song's acks on patches 1 and 4 (others changed) [Song]
> - add missing / [Andrii]
> - change srctree variable initialization [Andrii]
> - shifted ifdef for clean target [Andrii]
>
> thanks,
> jirka
>
>

FYI, your patch #2 didn't make it into the mailing list (see [0]). So
maybe wait for a bit and if it doesn't arrive, re-submit?

[0] https://patchwork.kernel.org/user/todo/netdevbpf/?series=428711&delegate=121173&state=*

> ---
> Jiri Olsa (4):
> tools/resolve_btfids: Build libbpf and libsubcmd in separate directories
> tools/resolve_btfids: Check objects before removing
> tools/resolve_btfids: Set srctree variable unconditionally
> kbuild: Add resolve_btfids clean to root clean target
>
> Makefile | 7 ++++++-
> tools/bpf/resolve_btfids/.gitignore | 2 --
> tools/bpf/resolve_btfids/Makefile | 44 ++++++++++++++++++++++----------------------
> 3 files changed, 28 insertions(+), 25 deletions(-)
>