Skip to content

Commit 04c459d

Browse files
committed
kconfig: remove oldnoconfig target
As commit 312ee68 ("kconfig: announce removal of oldnoconfig if used") announced, it is time for the removal. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent a15687c commit 04c459d

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

scripts/kconfig/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,7 @@ PHONY += $(simple-targets)
6868
$(simple-targets): $(obj)/conf
6969
$< $(silent) --$@ $(Kconfig)
7070

71-
PHONY += oldnoconfig 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."
71+
PHONY += silentoldconfig savedefconfig defconfig
7972

8073
# We do not expect manual invokcation of "silentoldcofig" (or "syncconfig").
8174
silentoldconfig: syncconfig

scripts/kconfig/conf.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -460,12 +460,6 @@ static struct option long_opts[] = {
460460
{"randconfig", no_argument, NULL, randconfig},
461461
{"listnewconfig", no_argument, NULL, listnewconfig},
462462
{"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},
469463
{NULL, 0, NULL, 0}
470464
};
471465

@@ -480,7 +474,6 @@ static void conf_usage(const char *progname)
480474
printf(" --syncconfig Similar to oldconfig but generates configuration in\n"
481475
" include/{generated/,config/}\n");
482476
printf(" --olddefconfig Same as oldconfig but sets new symbols to their default value\n");
483-
printf(" --oldnoconfig An alias of olddefconfig\n");
484477
printf(" --defconfig <file> New config with default defined in <file>\n");
485478
printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n");
486479
printf(" --allnoconfig New config where all options are answered with no\n");

0 commit comments

Comments
 (0)