After building the kernel I see: $ git status -s ?? tools/bpf/resolve_btfids/libbpf/ Commit af03299d8536 ("tools/resolve_btfids: Install subcmd headers") started copying header files into tools/bpf/resolve_btfids/libsubcmd/include/subcmd. These *.h files are not covered by higher level wildcard gitignores. gitignore the entire libsubcmd directory. It's created as part of build and removed by clean. Fixes: af03299d8536 ("tools/resolve_btfids: Install subcmd headers") Signed-off-by: Greg Thelen <gthelen@xxxxxxxxxx> --- tools/bpf/resolve_btfids/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/bpf/resolve_btfids/.gitignore b/tools/bpf/resolve_btfids/.gitignore index 16913fffc985..52d5e9721d92 100644 --- a/tools/bpf/resolve_btfids/.gitignore +++ b/tools/bpf/resolve_btfids/.gitignore @@ -1,3 +1,4 @@ /fixdep /resolve_btfids /libbpf/ +/libsubcmd/ -- 2.40.0.rc1.284.g88254d51c5-goog