Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Paul Gortmaker and committed by
Linus Torvalds
e4757cab a9596135

-11
-11
scripts/kconfig/confdata.c
··· 489 489 fprintf(fp, "#define %s%s%s 1\n", 490 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 492 break; 504 493 } 505 494 case S_HEX: {