aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/config.h
diff options
context:
space:
mode:
authorRussell King <rmk+lkml@arm.linux.org.uk>2005-10-30 16:42:11 -0500
committerSam Ravnborg <sam@mars.ravnborg.org>2005-11-06 04:22:04 -0500
commit2dd34b488a99135ad2a529e33087ddd6a09e992a (patch)
tree785b06eabfea3fdebf571b1e2b8a1ea695974416 /include/linux/config.h
parentf912696ab330bf539231d1f8032320f2a08b850f (diff)
[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>
Diffstat (limited to 'include/linux/config.h')
-rw-r--r--include/linux/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/config.h b/include/linux/config.h
index 9d1c14f7ad6d..a91f5e55b525 100644
--- a/include/linux/config.h
+++ b/include/linux/config.h
@@ -1,6 +1,8 @@
1#ifndef _LINUX_CONFIG_H 1#ifndef _LINUX_CONFIG_H
2#define _LINUX_CONFIG_H 2#define _LINUX_CONFIG_H
3 3/* This file is no longer in use and kept only for backward compatibility.
4 * autoconf.h is now included via -imacros on the commandline
5 */
4#include <linux/autoconf.h> 6#include <linux/autoconf.h>
5 7
6#endif 8#endif