summaryrefslogtreecommitdiffstats
path: root/module/Makefile.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-10 10:57:52 -0700
committerBrian Behlendorf <[email protected]>2009-03-11 12:37:34 -0700
commit0c617c9a63c733643019a8d930d902ce56b153cc (patch)
tree06495996357201096190238070b4da05dd141f4e /module/Makefile.in
parentd4326403de5f1fe9634c3d9468a51076eff702b6 (diff)
Build system cleanup
1) Undefine non-unique entries in spl_config.h 2) Minor Makefile cleanup 3) Don't use includedir for proper kernel header install
Diffstat (limited to 'module/Makefile.in')
-rw-r--r--module/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index 3fd7dbd8b..abb379482 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -1,11 +1,16 @@
subdir-m += spl
subdir-m += splat
+INSTALL=/usr/bin/install
+
modules clean:
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
modules_install:
- $(MAKE) -C @LINUX@ SUBDIRS=`pwd` INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
+ $(MAKE) -C @LINUX@ SUBDIRS=`pwd` \
+ INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
+ $(INSTALL) -D Module.symvers \
+ $(DESTDIR)/@LINUX@/include/spl/Module.symvers
distdir:
list='$(subdir-m)'; for subdir in $$list; do \