brcm2708: package the HW random module

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37232
lede-17.01
Florian Fainelli 2013-07-10 19:42:53 +00:00
parent 0e479250a6
commit f2ff0e9259
1 changed files with 14 additions and 0 deletions

View File

@ -24,3 +24,17 @@ endef
$(eval $(call KernelPackage,sound-arm-bcm2835)) $(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))