[openwrt/openwrt] stm32: modules: fix stm32-hash package build
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 17 08:22:56 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/9db716b6dcc12a9e3e0f91adacc6cef19d6e0eba
commit 9db716b6dcc12a9e3e0f91adacc6cef19d6e0eba
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Fri Mar 14 19:19:11 2025 +0800
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 at qq.com>
Link: https://github.com/openwrt/openwrt/pull/18241
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
(cherry picked from commit 4efb4a26d28ecdd5fec9dc3a85bcb46a45a75f60)
---
target/linux/stm32/modules.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
More information about the lede-commits
mailing list