diff options
author | Andrew Morton <akpm@osdl.org> | 2003-08-31 04:33:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-31 04:33:50 -0700 |
commit | 9fff29987c5b6443d651eaf28fd3d6837d6f50ed (patch) | |
tree | 7412c9ea9b83d2ea57f1529f872cad40f623a96f /Makefile | |
parent | 0040b222089d58c788ac9045842d0b6cca3e0de4 (diff) | |
download | history-9fff29987c5b6443d651eaf28fd3d6837d6f50ed.tar.gz |
[PATCH] kbuild: warn if the user has old modutils
From: Valdis.Kletnieks@vt.edu, Sam Ravnborg <sam@ravnborg.org>
Adds an explicit check for the new modutils in the build system.
Generally we should avoid these sorts of hardwired checks for the right
versions of things, but we are still getting a significant number of problem
reports due to people not having the new tools. Let's help them out.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 816a1a168aaf4..72ac347919327 100644 --- a/Makefile +++ b/Makefile @@ -594,6 +594,11 @@ modules_install: _modinst_ _modinst_post .PHONY: _modinst_ _modinst_: + @if [ -z "`$(DEPMOD) -V | grep module-init-tools`" ]; then \ + echo "Warning: you may need to install module-init-tools"; \ + echo "See http://www.codemonkey.org.uk/post-halloween-2.5.txt";\ + sleep 1; \ + fi @rm -rf $(MODLIB)/kernel @rm -f $(MODLIB)/build @mkdir -p $(MODLIB)/kernel |