nss-crypto: fix target dependency logic

"@" symbol implies "CONFIG_SOME_SYMBOL" whereas without implies
"CONFIG_PACKAGE_some-package". The later is what we want here since
nss-eip-firmware is a package.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2025-04-29 03:00:49 -04:00
parent 2b273dbbd8
commit 19f0fefbeb

View File

@ -31,7 +31,8 @@ define KernelPackage/qca-nss-crypto
DEPENDS:=@(TARGET_qualcommax||TARGET_ipq806x) \
+kmod-qca-nss-drv \
+@NSS_DRV_CRYPTO_ENABLE \
+@(TARGET_qualcommax_ipq807x||TARGET_qualcommax_ipq60xx):nss-eip-firmware
+TARGET_qualcommax_ipq807x:nss-eip-firmware \
+TARGET_qualcommax_ipq60xx:nss-eip-firmware
TITLE:=Kernel driver for NSS crypto driver
FILES:=$(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/src/qca-nss-crypto.ko \
$(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/tool/qca-nss-crypto-tool.ko