apm821xx: put crypto4xx into crypto subsection
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 31 May 2023 12:15:56 +0000 (14:15 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 1 Jun 2023 21:54:17 +0000 (23:54 +0200)
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 <chunkeey@gmail.com>
target/linux/apm821xx/modules.mk

index b83746115758dd1556e32245197fd08de8ab8cf6..f8880d67124802f12f91715ca88d5629719965ae 100644 (file)
@@ -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