From 68da105500aaf0dd55675e26397e921189a4b8ab Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 10 Jul 2013 19:42:53 +0000 Subject: [PATCH] brcm2708: package the HW random module Signed-off-by: Florian Fainelli SVN-Revision: 37232 --- target/linux/brcm2708/modules.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index e8a2bff0cd..082d77f99e 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -24,3 +24,17 @@ endef $(eval $(call KernelPackage,sound-arm-bcm2835)) +define KernelPackage/random-bcm2708 + SUBMENU:=$(OTHER_MENU) + TITLE:=BCM2708 H/W Random Number Generator + KCONFIG:=CONFIG_HW_RANDOM_BCM2708 + FILES:=$(LINUX_DIR)/drivers/char/hw_random/bcm2708-rng.ko + AUTOLOAD:=$(call AutoLoad,11,bcm2708-rng) + DEPENDS:=@TARGET_brcm2708 +kmod-random-core +endef + +define KernelPackage/random-bcm2708/description + This package contains the Broadcom 2708 HW random number generator driver +endef + +$(eval $(call KernelPackage,random-bcm2708)) -- 2.30.2