From 503ac967c5fa88c37d7d3f8ed348677cee29f0f9 Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Wed, 2 Aug 2017 06:04:50 +0200 Subject: [PATCH] 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 --- package/kernel/linux/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.30.2