diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-29 11:41:27 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-01 11:15:25 -0400 |
| commit | 04c459d204484fa4747d29c24f00df11fe6334d4 (patch) | |
| tree | 4979a23ca5c2872fed672f19c9b28be8cf184780 /scripts | |
| parent | a15687ca7b927c02fde9ab68ecbbc3043fb72f25 (diff) | |
kconfig: remove oldnoconfig target
As commit 312ee68752fa ("kconfig: announce removal of oldnoconfig if
used") announced, it is time for the removal.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/Makefile | 9 | ||||
| -rw-r--r-- | scripts/kconfig/conf.c | 7 |
2 files changed, 1 insertions, 15 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 67ed9f6ccdf8..5d37a604ecc8 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
| @@ -68,14 +68,7 @@ PHONY += $(simple-targets) | |||
| 68 | $(simple-targets): $(obj)/conf | 68 | $(simple-targets): $(obj)/conf |
| 69 | $< $(silent) --$@ $(Kconfig) | 69 | $< $(silent) --$@ $(Kconfig) |
| 70 | 70 | ||
| 71 | PHONY += oldnoconfig silentoldconfig savedefconfig defconfig | 71 | PHONY += silentoldconfig savedefconfig defconfig |
| 72 | |||
| 73 | # oldnoconfig is an alias of olddefconfig, because people already are dependent | ||
| 74 | # on its behavior (sets new symbols to their default value but not 'n') with the | ||
| 75 | # counter-intuitive name. | ||
| 76 | oldnoconfig: olddefconfig | ||
| 77 | @echo " WARNING: \"oldnoconfig\" target will be removed after Linux 4.19" | ||
| 78 | @echo " Please use \"olddefconfig\" instead, which is an alias." | ||
| 79 | 72 | ||
| 80 | # We do not expect manual invokcation of "silentoldcofig" (or "syncconfig"). | 73 | # We do not expect manual invokcation of "silentoldcofig" (or "syncconfig"). |
| 81 | silentoldconfig: syncconfig | 74 | silentoldconfig: syncconfig |
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 7b2b37260669..98e0c7a34699 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
| @@ -460,12 +460,6 @@ static struct option long_opts[] = { | |||
| 460 | {"randconfig", no_argument, NULL, randconfig}, | 460 | {"randconfig", no_argument, NULL, randconfig}, |
| 461 | {"listnewconfig", no_argument, NULL, listnewconfig}, | 461 | {"listnewconfig", no_argument, NULL, listnewconfig}, |
| 462 | {"olddefconfig", no_argument, NULL, olddefconfig}, | 462 | {"olddefconfig", no_argument, NULL, olddefconfig}, |
| 463 | /* | ||
| 464 | * oldnoconfig is an alias of olddefconfig, because people already | ||
| 465 | * are dependent on its behavior(sets new symbols to their default | ||
| 466 | * value but not 'n') with the counter-intuitive name. | ||
| 467 | */ | ||
| 468 | {"oldnoconfig", no_argument, NULL, olddefconfig}, | ||
| 469 | {NULL, 0, NULL, 0} | 463 | {NULL, 0, NULL, 0} |
| 470 | }; | 464 | }; |
| 471 | 465 | ||
| @@ -480,7 +474,6 @@ static void conf_usage(const char *progname) | |||
| 480 | printf(" --syncconfig Similar to oldconfig but generates configuration in\n" | 474 | printf(" --syncconfig Similar to oldconfig but generates configuration in\n" |
| 481 | " include/{generated/,config/}\n"); | 475 | " include/{generated/,config/}\n"); |
| 482 | printf(" --olddefconfig Same as oldconfig but sets new symbols to their default value\n"); | 476 | printf(" --olddefconfig Same as oldconfig but sets new symbols to their default value\n"); |
| 483 | printf(" --oldnoconfig An alias of olddefconfig\n"); | ||
| 484 | printf(" --defconfig <file> New config with default defined in <file>\n"); | 477 | printf(" --defconfig <file> New config with default defined in <file>\n"); |
| 485 | printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n"); | 478 | printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n"); |
| 486 | printf(" --allnoconfig New config where all options are answered with no\n"); | 479 | printf(" --allnoconfig New config where all options are answered with no\n"); |
