mbox series

[0/3] Build time gitignore checking

Message ID 20210223181425.4010665-1-robh@kernel.org (mailing list archive)
Headers show
Series Build time gitignore checking | expand


Rob Herring Feb. 23, 2021, 6:14 p.m. UTC
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 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(-)