2014-06-10 01:55:31 +04:00
|
|
|
src = @abs_top_srcdir@/module/zcommon
|
|
|
|
obj = @abs_builddir@
|
2018-02-08 19:16:23 +03:00
|
|
|
target_cpu = @target_cpu@
|
2014-06-10 01:55:31 +04:00
|
|
|
|
2010-08-26 22:22:58 +04:00
|
|
|
MODULE := zcommon
|
|
|
|
|
2012-07-09 13:23:00 +04:00
|
|
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
2010-08-26 22:22:58 +04:00
|
|
|
|
2018-01-10 21:49:27 +03:00
|
|
|
ccflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_MODULE_CPPFLAGS)
|
|
|
|
|
2018-02-08 19:16:23 +03:00
|
|
|
# Suppress unused-value warnings in sparc64 architecture headers
|
2020-01-17 23:40:09 +03:00
|
|
|
ccflags-$(CONFIG_SPARC64) += -Wno-unused-value
|
2018-02-08 19:16:23 +03:00
|
|
|
|
2020-03-27 19:11:22 +03:00
|
|
|
$(MODULE)-objs += cityhash.o
|
2017-08-10 01:31:08 +03:00
|
|
|
$(MODULE)-objs += zfeature_common.o
|
2014-06-10 01:55:31 +04:00
|
|
|
$(MODULE)-objs += zfs_comutil.o
|
2017-08-10 01:31:08 +03:00
|
|
|
$(MODULE)-objs += zfs_deleg.o
|
2014-06-10 01:55:31 +04:00
|
|
|
$(MODULE)-objs += zfs_fletcher.o
|
2016-11-04 20:53:03 +03:00
|
|
|
$(MODULE)-objs += zfs_fletcher_superscalar.o
|
|
|
|
$(MODULE)-objs += zfs_fletcher_superscalar4.o
|
2017-08-10 01:31:08 +03:00
|
|
|
$(MODULE)-objs += zfs_namecheck.o
|
|
|
|
$(MODULE)-objs += zfs_prop.o
|
|
|
|
$(MODULE)-objs += zfs_uio.o
|
|
|
|
$(MODULE)-objs += zpool_prop.o
|
|
|
|
$(MODULE)-objs += zprop_common.o
|
2015-12-10 02:34:16 +03:00
|
|
|
|
|
|
|
$(MODULE)-$(CONFIG_X86) += zfs_fletcher_intel.o
|
2016-06-24 06:32:40 +03:00
|
|
|
$(MODULE)-$(CONFIG_X86) += zfs_fletcher_sse.o
|
2016-07-06 14:42:04 +03:00
|
|
|
$(MODULE)-$(CONFIG_X86) += zfs_fletcher_avx512.o
|
2016-10-21 20:55:49 +03:00
|
|
|
$(MODULE)-$(CONFIG_ARM64) += zfs_fletcher_aarch64_neon.o
|