diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-07-10 19:42:48 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-07-10 19:42:48 +0000 |
commit | 0e479250a6ed6fd6653df8da6d17a44046afd43c (patch) | |
tree | edc9747c0688db44914d4eee1097492af9c7b4ad /package/kernel/linux/modules/other.mk | |
parent | 9e40952c92994aeb3f1ca8d24fba4612ab02c4ce (diff) | |
download | mtk-20170518-0e479250a6ed6fd6653df8da6d17a44046afd43c.zip mtk-20170518-0e479250a6ed6fd6653df8da6d17a44046afd43c.tar.gz mtk-20170518-0e479250a6ed6fd6653df8da6d17a44046afd43c.tar.bz2 |
kernel: package the HW random core module
And update the crypto-hw-hifn-795x to use it.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37231
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r-- | package/kernel/linux/modules/other.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 387090a..94bf5dd 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -684,3 +684,17 @@ define KernelPacakge/ptp-gianfar/description endef $(eval $(call KernelPackage,ptp-gianfar)) + +define KernelPackage/random-core + SUBMENU:=$(OTHER_MENU) + TITLE:=Hardware Random Number Generator Core support + KCONFIG:=CONFIG_HW_RANDOM + FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko + AUTOLOAD:=$(call AutoLoad,10,rng-core) +endef + +define KernelPackage/random-core/description + Kernel module for the HW random number generator core infrastructure +endef + +$(eval $(call KernelPackage,random-core)) |