kernel: modules: update dependency for kmod-tpm

Remove unneeded dependencies asn1 codec and oid.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18661
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang
2025-05-01 11:35:36 +08:00
committed by Hauke Mehrtens
parent 5048c9d501
commit ef2310b031

View File

@ -949,11 +949,7 @@ $(eval $(call KernelPackage,keys-trusted))
define KernelPackage/tpm
SUBMENU:=$(OTHER_MENU)
TITLE:=TPM Hardware Support
DEPENDS:= +kmod-random-core +kmod-asn1-decoder \
+kmod-asn1-encoder +kmod-oid-registry \
+!LINUX_6_6:kmod-crypto-ecdh \
+!LINUX_6_6:kmod-crypto-kpp \
+!LINUX_6_6:kmod-crypto-lib-aescfb
DEPENDS:= +kmod-random-core
KCONFIG:= CONFIG_TCG_TPM
FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
AUTOLOAD:=$(call AutoLoad,10,tpm,1)