On Tue, Feb 23, 2021 at 10:14 AM Rob Herring <robh@xxxxxxxxxx> wrote: > > Any non-phony targets need to be in gitignore. The normal way to check > this is doing an in-tree build and running git-status which is easy to > miss. Git provides an easy way to check whether a file is ignored with > git-check-ignore. Let's add a build time check using it. This looks ridiculously expensive with a shell and git invocation for every single target just for this check. Considering that I just had to fight my build suddenly getting much slower, I'm a bit sensitive about these things. Linus