From: Martin Schiller Date: Wed, 2 Aug 2017 04:04:50 +0000 (+0200) Subject: kernel/modules: add kmod-random-tpm module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=503ac967c5fa88c37d7d3f8ed348677cee29f0f9;p=openwrt%2Fstaging%2Fblocktrron.git kernel/modules: add kmod-random-tpm module Add kernel module package for kmod-random-tpm. Signed-off-by: Florian Eckert Signed-off-by: Martin Schiller --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index b33883815e..3a997f881e 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -899,6 +899,22 @@ endef $(eval $(call KernelPackage,random-omap)) +define KernelPackage/random-tpm + SUBMENU:=$(OTHER_MENU) + TITLE:=Hardware Random Number Generator TPM support + KCONFIG:=CONFIG_HW_RANDOM_TPM + FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko + DEPENDS:= +kmod-random-core +kmod-tpm + AUTOLOAD:=$(call AutoProbe,tpm-rng) +endef + +define KernelPackage/random-tpm/description + Kernel module for the Random Number Generator + in the Trusted Platform Module. +endef + +$(eval $(call KernelPackage,random-tpm)) + define KernelPackage/thermal SUBMENU:=$(OTHER_MENU) TITLE:=Generic Thermal sysfs driver