[openwrt/openwrt] kernel: modules: update dependency for kmod-tpm

LEDE Commits lede-commits at lists.infradead.org
Thu May 8 13:34:40 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ef2310b031a92caf7ff60b0d8694d16d92f7fcb3

commit ef2310b031a92caf7ff60b0d8694d16d92f7fcb3
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Thu May 1 11:35:36 2025 +0800

    kernel: modules: update dependency for kmod-tpm
    
    Remove unneeded dependencies asn1 codec and oid.
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18661
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/other.mk | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index ff80cd8d27..8da6216cbf 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -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)




More information about the lede-commits mailing list