Commit ce454d4d authored by Tom Rini's avatar Tom Rini Committed by Sam Ravnborg

[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: default avatarTom Rini <>
Signed-off-by: default avatarSam Ravnborg <>
parent 946dc121
......@@ -886,7 +886,7 @@ modules_install: _modinst_ _modinst_post
.PHONY: _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";\
sleep 1; \
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment