2012-07-24 20:39:17 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2012 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
define KernelPackage/sound-arm-bcm2835
|
|
|
|
TITLE:=Broadcom 2708,2835 SoC sound support
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_SND_ARM=y \
|
|
|
|
CONFIG_SND_BCM2835 \
|
|
|
|
CONFIG_SND_ARMAACI=n
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/sound/arm/snd-bcm2835.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,68,snd-bcm2835)
|
|
|
|
DEPENDS:=@TARGET_brcm2708
|
|
|
|
$(call AddDepends/sound)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/sound-arm-bcm2835/description
|
|
|
|
This package contains the Broadcom 2708/2835 sound driver
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,sound-arm-bcm2835))
|
|
|
|
|
2013-07-10 19:42:53 +00:00
|
|
|
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))
|