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