kbuild: support include/generated
authorSam Ravnborg <sam@ravnborg.org>
Sat, 18 Apr 2009 21:51:08 +0000 (23:51 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 19 Apr 2009 09:12:06 +0000 (11:12 +0200)
commitf14875a3e0cc35d7dbe15ee39763a6ae922e7034
treefc663d3df49fe08968bffe8708f8967054218cef
parentff54250a0ebab7f90a5f848a0ba63f999830c872
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>
.gitignore
Makefile