aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-08-02 06:04:50 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-09 22:39:17 +0200
commit503ac967c5fa88c37d7d3f8ed348677cee29f0f9 (patch)
tree2a632278d08a102344d97d0ce075b40ebea0ab04 /package
parent390c4df2c0b2e7b31c52eca3dcba139b0d745a97 (diff)
downloadupstream-503ac967c5fa88c37d7d3f8ed348677cee29f0f9.tar.gz
upstream-503ac967c5fa88c37d7d3f8ed348677cee29f0f9.tar.bz2
upstream-503ac967c5fa88c37d7d3f8ed348677cee29f0f9.zip
kernel/modules: add kmod-random-tpm module
Add kernel module package for kmod-random-tpm. Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
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