[PATCH 0/3] Build time gitignore checking

From: Rob Herring
Date: Tue Feb 23 2021 - 13:15:52 EST


Linus wasn't happy that I forgot a gitignore entry in my recent PR.
Checking that requires doing in tree build (which is not my usual
workflow) and checking git status afterwards. Given either one I'll
easily forget again, I came up with a build time check which works for
in tree and out of tree builds. It should also show up in any CI builds.

The first 2 patches are fixes which the 3rd patch found. They can be
picked up regardless of whether folks like the 3rd patch or not.

Rob


Rob Herring (3):
kbuild: Make old-atomics and missing-syscalls phony targets
x86: Drop generated syscall headers from 'targets'
kbuild: Add a build check for missing gitignore entries

Kbuild | 2 ++
arch/x86/entry/syscalls/Makefile | 2 --
scripts/Makefile.lib | 4 ++++
3 files changed, 6 insertions(+), 2 deletions(-)

--
2.27.0