mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-10 12:26:27 +03:00
libzpool: add zfs_impl.c, remove from libicp
This isn't used by libicp directly, but is by some clients, and relies on headers specific to the zfs module, which makes using it difficult otherwise. Also switch the checksum tests over to use libzpool, so they can get access to it. That's not exactly what we want in the long term, but the icp and zfs modules have a complicated relationship so this will do for now. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
This commit is contained in:
parent
677d6ed730
commit
e282e98e79
@ -38,8 +38,7 @@ nodist_libicp_la_SOURCES = \
|
||||
module/icp/core/kcf_prov_lib.c \
|
||||
module/icp/core/kcf_callprov.c \
|
||||
module/icp/core/kcf_mech_tabs.c \
|
||||
module/icp/core/kcf_prov_tabs.c \
|
||||
module/zfs/zfs_impl.c
|
||||
module/icp/core/kcf_prov_tabs.c
|
||||
|
||||
if TARGET_CPU_AARCH64
|
||||
nodist_libicp_la_SOURCES += \
|
||||
|
||||
@ -180,6 +180,7 @@ nodist_libzpool_la_SOURCES = \
|
||||
module/zfs/zfs_crrd.c \
|
||||
module/zfs/zfs_fm.c \
|
||||
module/zfs/zfs_fuid.c \
|
||||
module/zfs/zfs_impl.c \
|
||||
module/zfs/zfs_ratelimit.c \
|
||||
module/zfs/zfs_rlock.c \
|
||||
module/zfs/zfs_sa.c \
|
||||
|
||||
@ -116,9 +116,7 @@ scripts_zfs_tests_bin_PROGRAMS += %D%/edonr_test %D%/skein_test \
|
||||
%C%_edonr_test_SOURCES = %D%/checksum/edonr_test.c
|
||||
%C%_blake3_test_SOURCES = %D%/checksum/blake3_test.c
|
||||
%C%_skein_test_LDADD = \
|
||||
libicp.la \
|
||||
libspl.la \
|
||||
libspl_assert.la
|
||||
libzpool.la
|
||||
%C%_sha2_test_LDADD = $(%C%_skein_test_LDADD)
|
||||
%C%_edonr_test_LDADD = $(%C%_skein_test_LDADD)
|
||||
%C%_blake3_test_LDADD = $(%C%_skein_test_LDADD)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user