aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2005-07-15 10:56:36 -0400
committerSam Ravnborg <sam@mars.(none)>2005-07-17 17:00:22 -0400
commitce454d4d7278b815dcee957653ce388146484f5f (patch)
tree3fb8162df81441fe8cf9a20d0c3974595e04a3e9 /Makefile
parent946dc121d7d1c606f6bbeb8ae778963a1e2ff59c (diff)
[PATCH] kbuild: When checking depmod version, redirect stderr
When running depmod to check for the correct version number, extra output we don't need to see, such as "depmod: QM_MODULES: Function not implemented" may show up. Redirect stderr to /dev/null as the version information that we do care about comes to stdout. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 38384f898d61..5185c917077b 100644
--- a/Makefile
+++ b/Makefile
@@ -886,7 +886,7 @@ modules_install: _modinst_ _modinst_post
886 886
887.PHONY: _modinst_ 887.PHONY: _modinst_
888_modinst_: 888_modinst_:
889 @if [ -z "`$(DEPMOD) -V | grep module-init-tools`" ]; then \ 889 @if [ -z "`$(DEPMOD) -V 2>/dev/null | grep module-init-tools`" ]; then \
890 echo "Warning: you may need to install module-init-tools"; \ 890 echo "Warning: you may need to install module-init-tools"; \
891 echo "See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt";\ 891 echo "See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt";\
892 sleep 1; \ 892 sleep 1; \