summaryrefslogtreecommitdiffstats
path: root/module/zpios/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/zpios/Makefile.in')
-rw-r--r--module/zpios/Makefile.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/zpios/Makefile.in b/module/zpios/Makefile.in
index 93a89a914..437bf2287 100644
--- a/module/zpios/Makefile.in
+++ b/module/zpios/Makefile.in
@@ -1,10 +1,7 @@
MODULE := zpios
-EXTRA_CFLAGS = @KERNELCPPFLAGS@
-EXTRA_CFLAGS += -include @SPL_OBJ@/spl_config.h
-EXTRA_CFLAGS += -include @abs_top_builddir@/zfs_config.h
-EXTRA_CFLAGS += -I@abs_top_srcdir@/include -I@SPL@/include -I@SPL@
+EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
-obj-m := $(MODULE).o
+obj-$(CONFIG_ZFS) := $(MODULE).o
$(MODULE)-objs += @top_srcdir@/module/zpios/pios.o