summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-03-14 11:19:11 +0000
committerHauke Mehrtens2025-03-15 09:44:30 +0000
commit4efb4a26d28ecdd5fec9dc3a85bcb46a45a75f60 (patch)
treeac1f4cfb894e0522eedd59f0ca9b2cffdb146f30
parenteffcb6e4c3f6638ad4dde7a7e9218c4f7189019b (diff)
downloadopenwrt-4efb4a26d28ecdd5fec9dc3a85bcb46a45a75f60.tar.gz
stm32: modules: fix stm32-hash package build
* Remove misplaced backslash to fix the build warning: WARNING: can't parse line: FILES:=/drivers/crypto/stm32/stm32-hash.ko * Add missing dependency package kmod-crypto-engine: Package kmod-stm32-hash is missing dependencies for the following libraries: crypto_engine.ko Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/18241 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/stm32/modules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk
index baba80baba..2a9ec36e46 100644
--- a/target/linux/stm32/modules.mk
+++ b/target/linux/stm32/modules.mk
@@ -216,13 +216,14 @@ define KernelPackage/stm32-hash
SUBMENU:=$(CRYPTO_MENU)
TITLE:=Support for STM32 hash accelerators
DEPENDS:=@TARGET_stm32 \
+ +kmod-crypto-engine \
+kmod-crypto-md5 \
+kmod-crypto-sha1 \
+kmod-crypto-sha256 \
+kmod-crypto-sha3 \
+kmod-crypto-rsa
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_HASH \
- CONFIG_CRYPTO_ENGINE=y \
+ CONFIG_CRYPTO_ENGINE=y
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-hash.ko
AUTOLOAD:=$(call AutoProbe,stm32-hash)
endef