summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/gconf.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2015-04-08 13:30:42 +0200
committerMichal Marek <mmarek@suse.cz>2015-04-09 17:44:34 +0200
commit0a1f00a1c86421cc07cec87011c7cf4df68ee54b (patch)
tree06a6169a2c87dea29e62d44abfc493337c4854d5 /scripts/kconfig/gconf.c
parent1cba0c305758c3c1786ecaceb03e142c95a4edc9 (diff)
downloadlinux-stable-0a1f00a1c86421cc07cec87011c7cf4df68ee54b.tar.gz
linux-stable-0a1f00a1c86421cc07cec87011c7cf4df68ee54b.tar.bz2
linux-stable-0a1f00a1c86421cc07cec87011c7cf4df68ee54b.zip
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/gconf.c')
-rw-r--r--scripts/kconfig/gconf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 344b9e340ecb..26d208b435a0 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -1474,9 +1474,12 @@ int main(int ac, char *av[])
case 'a':
//showAll = 1;
break;
+ case 's':
+ conf_set_message_callback(NULL);
+ break;
case 'h':
case '?':
- printf("%s <config>\n", av[0]);
+ printf("%s [-s] <config>\n", av[0]);
exit(0);
}
name = av[2];