aboutsummaryrefslogtreecommitdiffstats
path: root/module/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/Makefile.in')
-rw-r--r--module/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index 0a7fd02a3..d291951f8 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -3,8 +3,12 @@ subdir-m += splat
INSTALL=/usr/bin/install
+SPL_MODULE_CFLAGS = -I@abs_top_srcdir@/include
+SPL_MODULE_CFLAGS += -include @abs_top_builddir@/spl_config.h
+export SPL_MODULE_CFLAGS
+
modules:
- $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
+ $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ CONFIG_SPL=m $@
clean:
@# Only cleanup the kernel build directories when CONFIG_KERNEL