diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-12 19:46:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-12 21:35:58 -0400 |
commit | e4757cab4cff01e9c47b14376be7438694032c3c (patch) | |
tree | 38e7828df0824c7cf4385e2ecdc29295d5df0864 /scripts | |
parent | a959613533a176a8f5f402585827e94a5220d2db (diff) |
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 <paul.gortmaker@windriver.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/confdata.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 9d0674473564..52577f052bc1 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
@@ -489,17 +489,6 @@ header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) | |||
489 | fprintf(fp, "#define %s%s%s 1\n", | 489 | fprintf(fp, "#define %s%s%s 1\n", |
490 | CONFIG_, sym->name, suffix); | 490 | CONFIG_, sym->name, suffix); |
491 | } | 491 | } |
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')); | ||
503 | break; | 492 | break; |
504 | } | 493 | } |
505 | case S_HEX: { | 494 | case S_HEX: { |