Skip to content

Commit

Permalink
Revert "module: icp: move kcf_cipher.c to os/linux"
Browse files Browse the repository at this point in the history
This reverts commit 2d4afae.
  • Loading branch information
nabijaczleweli committed Dec 26, 2021
1 parent 1b98b9d commit 612feac
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ AC_CONFIG_FILES([
module/nvpair/Makefile
module/os/linux/spl/Makefile
module/os/linux/zfs/Makefile
module/os/linux/icp/Makefile
module/spl/Makefile
module/unicode/Makefile
module/zcommon/Makefile
Expand Down
5 changes: 1 addition & 4 deletions lib/libicp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ endif
KERNEL_C = \
spi/kcf_spi.c \
api/kcf_ctxops.c \
api/kcf_cipher.c \
api/kcf_mac.c \
algs/aes/aes_impl_aesni.c \
algs/aes/aes_impl_generic.c \
Expand Down Expand Up @@ -60,10 +61,6 @@ KERNEL_C = \
core/kcf_prov_tabs.c \
$(ASM_SOURCES_C)

if BUILD_LINUX
KERNEL_C += ../os/linux/icp/api/kcf_cipher.c
endif

KERNEL_ASM = $(ASM_SOURCES_AS)

nodist_libicp_la_SOURCES = \
Expand Down
5 changes: 1 addition & 4 deletions module/icp/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ ifneq ($(KBUILD_EXTMOD),)
src = @abs_srcdir@
obj = @abs_builddir@
icp_include = $(src)/include
mfdir = $(obj)
else
icp_include = $(srctree)/$(src)/include
mfdir = $(srctree)/$(src)
endif

MODULE := icp
Expand All @@ -16,6 +14,7 @@ asflags-y := -I$(icp_include)
ccflags-y := -I$(icp_include)

$(MODULE)-objs += illumos-crypto.o
$(MODULE)-objs += api/kcf_cipher.o
$(MODULE)-objs += api/kcf_mac.o
$(MODULE)-objs += api/kcf_ctxops.o
$(MODULE)-objs += core/kcf_callprov.o
Expand Down Expand Up @@ -95,5 +94,3 @@ ICP_DIRS = \

all:
mkdir -p $(ICP_DIRS)

include $(mfdir)/../os/linux/icp/Makefile
File renamed without changes.
1 change: 0 additions & 1 deletion module/os/linux/icp/Makefile.in

This file was deleted.

0 comments on commit 612feac

Please sign in to comment.