mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Russell King](/assets/img/avatar_default.png)
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>
8 lines
225 B
C
8 lines
225 B
C
#ifndef _LINUX_CONFIG_H
|
|
#define _LINUX_CONFIG_H
|
|
/* This file is no longer in use and kept only for backward compatibility.
|
|
* autoconf.h is now included via -imacros on the commandline
|
|
*/
|
|
#include <linux/autoconf.h>
|
|
|
|
#endif
|