kconfig: do not define AUTOCONF_INCLUDED
PATCH 1/1 kconfig: do not define AUTOCONF_INCLUDED
AUTOCONF_INCLUDED is not checked is not used within the tree and its parent header, `autoconf.h', is safe to be re-included.
--- scripts/kconfig/confdata.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
scripts/kconfig/confdata.c +1 -2
@@ -833,8 +833,7 @@ int conf_write_autoconf(void)" * Automatically generated C config: don't edit\n" " * %s\n" " * %s" -" */\n" -"#define AUTOCONF_INCLUDED\n" , +" */\n" , rootmenu.prompt->text, ctime(&now)); for_all_symbols(i, sym) {
Signature · 1 line
1.7.2.30.gc37d7.dirty
Hi,
Quoted 8 lines · Arnaud Lacombe
AUTOCONF_INCLUDEDis not checked is not used within the tree and its parent header, `autoconf.h', is safe to be re-included.Signed-off-by Arnaud Lacombe <[email protected]>---
scripts/kconfig/confdata.c | 3 +--1 files changed, 1 insertions(+), 2 deletions(-)
ping ?
- Arnaud
Quoted 18 lines
scripts/kconfig/confdata.c +0
-0@@ -833,8 +833,7 @@ int conf_write_autoconf(void)" * Automatically generated C config: don't edit\n" " * %s\n"
" * %s"
- " */\n"
- "#define AUTOCONF_INCLUDED\n",
+ " */\n",
rootmenu.prompt->text,ctime(&now));for_all_symbols(i, sym) {
--
1.7.2.30.gc37d7.dirty
Quoted 2 lines · Arnaud Lacombe
AUTOCONF_INCLUDEDis not checked is not used within the tree and its parent header, `autoconf.h', is safe to be re-included.
It could be used by external modules that try to be compatible with pre-2.6.15 kernels, but the fix is trivial in such case (and I guess most of them dropped the #include of autoconf.h after it moved from linux/ to generated/ recently). So I applied this to kbuild-2.6.git#kconfig, thanks.
Michal