summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2008-07-01 18:14:25 +0000
committerJason Parker <jparker@digium.com>2008-07-01 18:14:25 +0000
commit065315f8e7a40357652359037d874a128701dc50 (patch)
treee99b48783ebd71ad9d2b8d6bab800e12b57c2167 /Makefile
parentb555d80b0ed33b8ef376a1a007c549e74048a5d7 (diff)
Build the modules before we install them, in case we don't call the install target (which calls all, which calls modules) directly.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4493 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 23c47be..4e2c33a 100644
--- a/Makefile
+++ b/Makefile
@@ -194,7 +194,7 @@ uninstall-hotplug:
uninstall-modules:
@./build_tools/uninstall-modules $(DESTDIR)/lib/modules/$(KVERS) $(ALL_MODULES)
-install-modules: # uninstall-modules
+install-modules: modules # uninstall-modules
$(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
[ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :