diff options
Diffstat (limited to 'module/zcommon/Makefile.in')
-rw-r--r-- | module/zcommon/Makefile.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/module/zcommon/Makefile.in b/module/zcommon/Makefile.in index 01e0692eb..b5cdf4c0c 100644 --- a/module/zcommon/Makefile.in +++ b/module/zcommon/Makefile.in @@ -1,13 +1,12 @@ -src = @abs_top_srcdir@/module/zcommon +ifneq ($(KBUILD_EXTMOD),) +src = @abs_srcdir@ obj = @abs_builddir@ -target_cpu = @target_cpu@ +endif MODULE := zcommon obj-$(CONFIG_ZFS) := $(MODULE).o -ccflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_MODULE_CPPFLAGS) - # Suppress unused-value warnings in sparc64 architecture headers ccflags-$(CONFIG_SPARC64) += -Wno-unused-value |