33 lines
915 B
Makefile
33 lines
915 B
Makefile
ifneq ($(KBUILD_EXTMOD),)
|
|
src = @abs_srcdir@
|
|
obj = @abs_builddir@
|
|
endif
|
|
|
|
MODULE := zcommon
|
|
|
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
|
|
|
# Suppress unused-value warnings in sparc64 architecture headers
|
|
ccflags-$(CONFIG_SPARC64) += -Wno-unused-value
|
|
|
|
$(MODULE)-objs += cityhash.o
|
|
$(MODULE)-objs += zfeature_common.o
|
|
$(MODULE)-objs += zfs_comutil.o
|
|
$(MODULE)-objs += zfs_deleg.o
|
|
$(MODULE)-objs += zfs_fletcher.o
|
|
$(MODULE)-objs += zfs_fletcher_superscalar.o
|
|
$(MODULE)-objs += zfs_fletcher_superscalar4.o
|
|
$(MODULE)-objs += zfs_namecheck.o
|
|
$(MODULE)-objs += zfs_prop.o
|
|
$(MODULE)-objs += zpool_prop.o
|
|
$(MODULE)-objs += zprop_common.o
|
|
|
|
$(MODULE)-$(CONFIG_X86) += zfs_fletcher_intel.o
|
|
$(MODULE)-$(CONFIG_X86) += zfs_fletcher_sse.o
|
|
$(MODULE)-$(CONFIG_X86) += zfs_fletcher_avx512.o
|
|
$(MODULE)-$(CONFIG_ARM64) += zfs_fletcher_aarch64_neon.o
|
|
|
|
ifeq ($(CONFIG_ARM64),y)
|
|
CFLAGS_REMOVE_zfs_fletcher_aarch64_neon.o += -mgeneral-regs-only
|
|
endif
|