summaryrefslogtreecommitdiffstats
path: root/module/avl
diff options
context:
space:
mode:
Diffstat (limited to 'module/avl')
-rw-r--r--module/avl/Makefile.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/avl/Makefile.in b/module/avl/Makefile.in
index efa414883..27f9e4af4 100644
--- a/module/avl/Makefile.in
+++ b/module/avl/Makefile.in
@@ -1,10 +1,7 @@
MODULE := zavl
-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/avl/avl.o