aboutsummaryrefslogtreecommitdiffstats
path: root/module/splat/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/splat/Makefile.in')
-rw-r--r--module/splat/Makefile.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/splat/Makefile.in b/module/splat/Makefile.in
index 05007d42f..f4065196b 100644
--- a/module/splat/Makefile.in
+++ b/module/splat/Makefile.in
@@ -1,12 +1,10 @@
# Makefile.in for splat kernel module
MODULE := splat
-EXTRA_CFLAGS = @KERNELCPPFLAGS@
-EXTRA_CFLAGS += -I@abs_top_srcdir@/include
-EXTRA_CFLAGS += -include @abs_top_builddir@/spl_config.h
+EXTRA_CFLAGS = $(SPL_MODULE_CFLAGS) @KERNELCPPFLAGS@
# Solaris Porting LAyer Tests
-obj-m := $(MODULE).o
+obj-$(CONFIG_SPL) := $(MODULE).o
$(MODULE)-objs += @top_srcdir@/module/splat/splat-ctl.o
$(MODULE)-objs += @top_srcdir@/module/splat/splat-kmem.o