summaryrefslogtreecommitdiffstats
path: root/module/zfs/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/Makefile.in')
-rw-r--r--module/zfs/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/zfs/Makefile.in b/module/zfs/Makefile.in
index ef35ea5dd..129c83eb7 100644
--- a/module/zfs/Makefile.in
+++ b/module/zfs/Makefile.in
@@ -142,4 +142,11 @@ $(MODULE)-$(CONFIG_X86) += vdev_raidz_math_avx512bw.o
$(MODULE)-$(CONFIG_ARM64) += vdev_raidz_math_aarch64_neon.o
$(MODULE)-$(CONFIG_ARM64) += vdev_raidz_math_aarch64_neonx2.o
+$(MODULE)-$(CONFIG_PPC) += vdev_raidz_math_powerpc_altivec.o
+$(MODULE)-$(CONFIG_PPC64) += vdev_raidz_math_powerpc_altivec.o
+
+ifeq ($(CONFIG_ALTIVEC),y)
+$(obj)/vdev_raidz_math_powerpc_altivec.o: c_flags += -maltivec
+endif
+
-include @abs_top_builddir@/module/os/linux/zfs/Makefile