From ef2310b031a92caf7ff60b0d8694d16d92f7fcb3 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Thu, 1 May 2025 11:35:36 +0800 Subject: [PATCH] kernel: modules: update dependency for kmod-tpm Remove unneeded dependencies asn1 codec and oid. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/18661 Signed-off-by: Hauke Mehrtens --- 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 ff80cd8d27a..8da6216cbf2 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)