aboutsummaryrefslogtreecommitdiffstats
path: root/module/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/Makefile.in')
-rw-r--r--module/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index b93a1d769..4368f7142 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -4,11 +4,13 @@ subdir-m += splat
INSTALL=/usr/bin/install
modules clean:
- $(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
+ $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
modules_install:
- $(MAKE) -C @LINUX@ SUBDIRS=`pwd` \
- INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
+ $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` \
+ INSTALL_MOD_PATH=$(DESTDIR) \
+ INSTALL_MOD_DIR=addon/spl $@
+ find ${DESTDIR}/lib/modules/ -name 'modules.*' | xargs ${RM}
distdir:
list='$(subdir-m)'; for subdir in $$list; do \