RISC-V: hook new crypto subdir into build-system
Create a crypto subdirectory for added accelerated cryptography routines and hook it into the riscv Kbuild and the main crypto Kconfig. Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jerry Shih <jerry.shih@sifive.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20240122002024.27477-4-ebiggers@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
parent
34ca4ec628
commit
178f385643
@ -2,6 +2,7 @@
|
||||
|
||||
obj-y += kernel/ mm/ net/
|
||||
obj-$(CONFIG_BUILTIN_DTB) += boot/dts/
|
||||
obj-$(CONFIG_CRYPTO) += crypto/
|
||||
obj-y += errata/
|
||||
obj-$(CONFIG_KVM) += kvm/
|
||||
|
||||
|
5
arch/riscv/crypto/Kconfig
Normal file
5
arch/riscv/crypto/Kconfig
Normal file
@ -0,0 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
menu "Accelerated Cryptographic Algorithms for CPU (riscv)"
|
||||
|
||||
endmenu
|
1
arch/riscv/crypto/Makefile
Normal file
1
arch/riscv/crypto/Makefile
Normal file
@ -0,0 +1 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
@ -1496,6 +1496,9 @@ endif
|
||||
if PPC
|
||||
source "arch/powerpc/crypto/Kconfig"
|
||||
endif
|
||||
if RISCV
|
||||
source "arch/riscv/crypto/Kconfig"
|
||||
endif
|
||||
if S390
|
||||
source "arch/s390/crypto/Kconfig"
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user