summaryrefslogtreecommitdiff
path: root/arch/riscv/Kbuild
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@vrull.eu>2024-01-21 16:19:14 -0800
committerPalmer Dabbelt <palmer@rivosinc.com>2024-01-22 17:55:17 -0800
commit178f3856436c748485cb7f8c134be2471f6d539f (patch)
tree28f1d66ef4bfe708ad0728444b7e6448e7955c07 /arch/riscv/Kbuild
parent34ca4ec628deb4f00da38c7d73486b8499e30dea (diff)
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>
Diffstat (limited to 'arch/riscv/Kbuild')
-rw-r--r--arch/riscv/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kbuild b/arch/riscv/Kbuild
index d25ad1c19f88..2c585f7a0b6e 100644
--- a/arch/riscv/Kbuild
+++ b/arch/riscv/Kbuild
@@ -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/