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
commitf07a1bd1f4b31ecac5859905c0b9a7ec7b1bd24c (patch)
treee99b48783ebd71ad9d2b8d6bab800e12b57c2167 /Makefile
parenteaa02977f47c35ac8c9b1dc547822df6c7a5d1d3 (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) || :