Skip to content

Commit

Permalink
[PATCH] kbuild: When checking depmod version, redirect stderr
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
trini authored and Sam Ravnborg committed Jul 17, 2005
1 parent 946dc12 commit ce454d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ modules_install: _modinst_ _modinst_post

.PHONY: _modinst_
_modinst_:
@if [ -z "`$(DEPMOD) -V | grep module-init-tools`" ]; then \
@if [ -z "`$(DEPMOD) -V 2>/dev/null | grep module-init-tools`" ]; then \
echo "Warning: you may need to install module-init-tools"; \
echo "See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt";\
sleep 1; \
Expand Down

0 comments on commit ce454d4

Please sign in to comment.