aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-07-10 19:42:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-07-10 19:42:53 +0000
commit2de362a1e830b1757e4fc41820e9ad9581f4d508 (patch)
treef8431a300436f0b82dfff181a49373adcb5d0582 /target
parent7d30edeb3c69a9a7552ecabdb8f6154baba21e0d (diff)
downloadupstream-2de362a1e830b1757e4fc41820e9ad9581f4d508.tar.gz
upstream-2de362a1e830b1757e4fc41820e9ad9581f4d508.tar.bz2
upstream-2de362a1e830b1757e4fc41820e9ad9581f4d508.zip
brcm2708: package the HW random module
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm2708/modules.mk14
1 files changed, 14 insertions, 0 deletions
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))