aboutsummaryrefslogtreecommitdiffstats
path: root/module/avl/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/avl/Makefile.in')
-rw-r--r--module/avl/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/avl/Makefile.in b/module/avl/Makefile.in
index 217fa3ca5..991d5f95b 100644
--- a/module/avl/Makefile.in
+++ b/module/avl/Makefile.in
@@ -1,10 +1,10 @@
-src = @abs_top_srcdir@/module/avl
+ifneq ($(KBUILD_EXTMOD),)
+src = @abs_srcdir@
obj = @abs_builddir@
+endif
MODULE := zavl
obj-$(CONFIG_ZFS) := $(MODULE).o
-ccflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_MODULE_CPPFLAGS)
-
$(MODULE)-objs += avl.o