summaryrefslogtreecommitdiff
path: root/kconfig/conf.c
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-12-09 09:22:43 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-02-02 07:06:32 (GMT)
commitd057ba5324a082ba28d3b81f90405fae860bb376 (patch)
tree9f4ccaa778897d99e517878a206e99252d03b15b /kconfig/conf.c
parent21095fab6712d3a082936b14b93cb6ff29c02872 (diff)
kconfig: Sync with upstream v5.1
This commit introduces the following upstream changes: 9c38f1f04408 kconfig/[mn]conf: handle backspace (^H) key c71bb9f86666 kconfig: remove stale lxdialog/.gitignore 8741908b3e29 kconfig: fix 'Save As' menu of xconfig 058507195b53 kbuild: move ".config not found!" message from Kconfig to Makefile 769a1c022678 kconfig: rename zconf.y to parser.y 981e545a698a kconfig: rename zconf.l to lexer.l Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'kconfig/conf.c')
-rw-r--r--kconfig/conf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/kconfig/conf.c b/kconfig/conf.c
index b86c7de..67e3219 100644
--- a/kconfig/conf.c
+++ b/kconfig/conf.c
@@ -468,7 +468,6 @@ int main(int ac, char **av)
const char *progname = av[0];
int opt;
const char *name, *defconfig_file = NULL /* gcc uninit */;
- struct stat tmpstat;
int no_conf_write = 0;
tty_stdio = isatty(0) && isatty(1);
@@ -540,18 +539,6 @@ int main(int ac, char **av)
name = av[optind];
conf_parse(name);
//zconfdump(stdout);
- if (sync_kconfig) {
- name = conf_get_configname();
- if (stat(name, &tmpstat)) {
- fprintf(stderr, "***\n"
- "*** Configuration file \"%s\" not found!\n"
- "***\n"
- "*** Please configure with \"menuconfig\", or use a\n"
- "*** pre-existing sample (see list with \"list-samples\").\n"
- "***\n", name);
- exit(1);
- }
- }
switch (input_mode) {
case defconfig: