diff options
author | Michal Marek <mmarek@suse.cz> | 2015-04-08 07:30:42 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-04-09 11:44:34 -0400 |
commit | 0a1f00a1c86421cc07cec87011c7cf4df68ee54b (patch) | |
tree | 06a6169a2c87dea29e62d44abfc493337c4854d5 /scripts/kconfig/qconf.cc | |
parent | 1cba0c305758c3c1786ecaceb03e142c95a4edc9 (diff) |
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/qconf.cc')
-rw-r--r-- | scripts/kconfig/qconf.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 9d3b04b0769c..c3bb7fe8dfa6 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -1746,7 +1746,7 @@ static const char *progname; | |||
1746 | 1746 | ||
1747 | static void usage(void) | 1747 | static void usage(void) |
1748 | { | 1748 | { |
1749 | printf(_("%s <config>\n"), progname); | 1749 | printf(_("%s [-s] <config>\n"), progname); |
1750 | exit(0); | 1750 | exit(0); |
1751 | } | 1751 | } |
1752 | 1752 | ||
@@ -1762,6 +1762,9 @@ int main(int ac, char** av) | |||
1762 | configApp = new QApplication(ac, av); | 1762 | configApp = new QApplication(ac, av); |
1763 | if (ac > 1 && av[1][0] == '-') { | 1763 | if (ac > 1 && av[1][0] == '-') { |
1764 | switch (av[1][1]) { | 1764 | switch (av[1][1]) { |
1765 | case 's': | ||
1766 | conf_set_message_callback(NULL); | ||
1767 | break; | ||
1765 | case 'h': | 1768 | case 'h': |
1766 | case '?': | 1769 | case '?': |
1767 | usage(); | 1770 | usage(); |