summaryrefslogtreecommitdiffstats
path: root/module/zcommon/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/zcommon/Makefile.in')
-rw-r--r--module/zcommon/Makefile.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/zcommon/Makefile.in b/module/zcommon/Makefile.in
index e564b77b4..d4f5ba7ec 100644
--- a/module/zcommon/Makefile.in
+++ b/module/zcommon/Makefile.in
@@ -1,11 +1,8 @@
MODULE := zcommon
-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/zcommon/zfs_deleg.o
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_prop.o