From: Shiji Yang Date: Thu, 1 May 2025 03:35:36 +0000 (+0800) Subject: kernel: modules: update dependency for kmod-tpm X-Git-Tag: v25.12.0-rc1~2845 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2310b031a92caf7ff60b0d8694d16d92f7fcb3;p=thirdparty%2Fopenwrt.git 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 --- 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)