* 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>
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