]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: modules: update dependency for kmod-tpm
authorShiji Yang <yangshiji66@outlook.com>
Thu, 1 May 2025 03:35:36 +0000 (11:35 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 8 May 2025 20:33:17 +0000 (22:33 +0200)
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>
package/kernel/linux/modules/other.mk

index ff80cd8d27ad541e3c115c6a517af7855fc8c1c0..8da6216cbf244a7fc109b944e79953d9694c2287 100644 (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)