Commit f14875a3e0cc35d7dbe15ee39763a6ae922e7034
1 parent
ff54250a0e
kbuild: support include/generated
We need a location for generated files. Today they are spread over several places and bringing them together to a common place makes it obvious hat is generated and what isreal files. Al Viro originally suggested: include/gen Linus suggested to spell it out. This patch implement support for include/generated All files in include/generated are ignored by git. include/generated is removed during "make mrproper". With this we are ready to implement support for include/generated in the various architctures and in the base kernel. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org>
Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff
.gitignore
Makefile
... | ... | @@ -1200,7 +1200,7 @@ |
1200 | 1200 | .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map |
1201 | 1201 | |
1202 | 1202 | # Directories & files removed with 'make mrproper' |
1203 | -MRPROPER_DIRS += include/config include2 usr/include | |
1203 | +MRPROPER_DIRS += include/config include2 usr/include include/generated | |
1204 | 1204 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
1205 | 1205 | include/linux/autoconf.h include/linux/version.h \ |
1206 | 1206 | include/linux/utsrelease.h \ |