Skip to content

Commit e4757ca

Browse files
Paul Gortmakertorvalds
authored andcommitted
kconfig: delete last traces of __enabled_ from autoconf.h
We've now fixed IS_ENABLED() and friends to not require any special "__enabled_" prefixed versions of the normal Kconfig options, so delete the last traces of them being generated. Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent a959613 commit e4757ca

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scripts/kconfig/confdata.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -489,17 +489,6 @@ header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
489489
fprintf(fp, "#define %s%s%s 1\n",
490490
CONFIG_, sym->name, suffix);
491491
}
492-
/*
493-
* Generate the __enabled_CONFIG_* and
494-
* __enabled_CONFIG_*_MODULE macros for use by the
495-
* IS_{ENABLED,BUILTIN,MODULE} macros. The _MODULE variant is
496-
* generated even for booleans so that the IS_ENABLED() macro
497-
* works.
498-
*/
499-
fprintf(fp, "#define __enabled_" CONFIG_ "%s %d\n",
500-
sym->name, (*value == 'y'));
501-
fprintf(fp, "#define __enabled_" CONFIG_ "%s_MODULE %d\n",
502-
sym->name, (*value == 'm'));
503492
break;
504493
}
505494
case S_HEX: {

0 commit comments

Comments
 (0)