From: Shiji Yang Date: Fri, 14 Mar 2025 11:19:11 +0000 (+0800) Subject: stm32: modules: fix stm32-hash package build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18241%2Fhead;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/18241 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk index baba80baba4..2a9ec36e46d 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