diff options
author | Michal Marek <mmarek@suse.cz> | 2015-04-08 14:30:42 +0300 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-04-09 18:44:34 +0300 |
commit | 0a1f00a1c86421cc07cec87011c7cf4df68ee54b (patch) | |
tree | 06a6169a2c87dea29e62d44abfc493337c4854d5 /scripts/kconfig/nconf.c | |
parent | 1cba0c305758c3c1786ecaceb03e142c95a4edc9 (diff) | |
download | linux-0a1f00a1c86421cc07cec87011c7cf4df68ee54b.tar.xz |
kconfig: Do not print status messages in make -s mode
Add an -s option to the various frontends and pass it when make -s is
used. Also, use $(kecho) instead of @echo in the Makefile.
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r-- | scripts/kconfig/nconf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index 984489ef2b46..d42d534a66cd 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c @@ -1482,6 +1482,11 @@ int main(int ac, char **av) bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); + if (ac > 1 && strcmp(av[1], "-s") == 0) { + /* Silence conf_read() until the real callback is set up */ + conf_set_message_callback(NULL); + av++; + } conf_parse(av[1]); conf_read(NULL); |