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