From 9c1b3966150f9340b169f5adc1bf80dc1cfa54e0 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Wed, 31 May 2023 14:15:56 +0200 Subject: [PATCH] apm821xx: put crypto4xx into crypto subsection module is only useful for apm821xx targets, so limit visability to just this target. Fixes: 55fbcad20a2d ("apm821xx: make crypto4xx as a standalone module") Signed-off-by: Christian Lamparter --- target/linux/apm821xx/modules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/apm821xx/modules.mk b/target/linux/apm821xx/modules.mk index b837461157..f8880d6712 100644 --- a/target/linux/apm821xx/modules.mk +++ b/target/linux/apm821xx/modules.mk @@ -19,11 +19,12 @@ define KernelPackage/hw-crypto-4xx CONFIG_HW_RANDOM=y \ CONFIG_CRYPTO_DEV_PPC4XX \ CONFIG_HW_RANDOM_PPC4XX=y - DEPENDS:=+kmod-random-core +kmod-crypto-manager \ + DEPENDS:=@TARGET_apm821xx +kmod-random-core +kmod-crypto-manager \ +kmod-crypto-ccm +kmod-crypto-gcm \ +kmod-crypto-sha1 +kmod-crypto-sha256 +kmod-crypto-sha512 FILES:=$(LINUX_DIR)/drivers/crypto/amcc/crypto4xx.ko AUTOLOAD:=$(call AutoLoad,09,sata_dwc_460ex,1) + $(call AddDepends/crypto) endef define KernelPackage/hw-crypto-4xx/description -- 2.30.2