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