[PATCH] kbuild: permanently fix kernel configuration include mess
authorRussell King <rmk+lkml@arm.linux.org.uk>
Sun, 30 Oct 2005 21:42:11 +0000 (22:42 +0100)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 6 Nov 2005 09:22:04 +0000 (10:22 +0100)
commit2dd34b488a99135ad2a529e33087ddd6a09e992a
tree785b06eabfea3fdebf571b1e2b8a1ea695974416
parentf912696ab330bf539231d1f8032320f2a08b850f
[PATCH] kbuild: permanently fix kernel configuration include mess

Include autoconf.h into every kernel compilation via the gcc command line
using -imacros.  This ensures that we have the kernel configuration
included from the start, rather than relying on each file having #include
<linux/config.h> as appropriate.  History has shown that this is something
which is difficult to get right.

Since we now include the kernel configuration automatically, make
configcheck becomes meaningless, so remove it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile
include/linux/config.h