projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: make syncconfig update .config regardless of sym_change_count
[carl9170fw.git]
/
config
/
conf.c
diff --git
a/config/conf.c
b/config/conf.c
index 130335f371ec1c2ffc61404c8fd2d6812ae9a88b..2f968e25b3c0c8bf40972ccd324815c6cc5d4391 100644
(file)
--- a/
config/conf.c
+++ b/
config/conf.c
@@
-483,6
+483,7
@@
int main(int ac, char **av)
int opt;
const char *name, *defconfig_file = NULL /* gcc uninit */;
struct stat tmpstat;
int opt;
const char *name, *defconfig_file = NULL /* gcc uninit */;
struct stat tmpstat;
+ int no_conf_write = 0;
tty_stdio = isatty(0) && isatty(1);
tty_stdio = isatty(0) && isatty(1);
@@
-651,7
+652,7
@@
int main(int ac, char **av)
/*
* build so we shall update autoconf.
*/
/*
* build so we shall update autoconf.
*/
- if (conf_write(NULL)) {
+ if (
!no_conf_write &&
conf_write(NULL)) {
fprintf(stderr, "\n*** Error during writing of the configuration.\n\n");
exit(1);
}
fprintf(stderr, "\n*** Error during writing of the configuration.\n\n");
exit(1);
}