hi, resolve_btfids tool is used during the kernel build, so we should clean it on kernel's make clean. thanks, jirka --- 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 | 38 ++++++++++++++++++++------------------ 3 files changed, 26 insertions(+), 21 deletions(-)