1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:18:26 +02:00

Add audio feature flag.

There are targets which neither have usb host nor pci support but do have audio
capabilities. Those targets should expliclitly specifiy that they support audio
through the new feature flag. The audio feature flag is also implicitly selected
by the usb and pci feature flags.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19643 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2010-02-15 20:03:18 +00:00
parent 74d7ae6816
commit cd02ed524b
5 changed files with 10 additions and 4 deletions

View File

@ -10,7 +10,7 @@ SOUND_MENU:=Sound Support
define KernelPackage/sound-core define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU) SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support TITLE:=Sound support
DEPENDS:=@PCI_SUPPORT||USB_SUPPORT||TARGET_uml DEPENDS:=@AUDIO_SUPPORT
KCONFIG:= \ KCONFIG:= \
CONFIG_SOUND \ CONFIG_SOUND \
CONFIG_SND \ CONFIG_SND \

View File

@ -152,6 +152,7 @@ sub target_config_features(@) {
while ($_ = shift @_) { while ($_ = shift @_) {
/broken/ and $ret .= "\tdepends BROKEN\n"; /broken/ and $ret .= "\tdepends BROKEN\n";
/audio/ and $ret .= "\tselect AUDIO_SUPPORT\n";
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n"; /display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
/gpio/ and $ret .= "\tselect GPIO_SUPPORT\n"; /gpio/ and $ret .= "\tselect GPIO_SUPPORT\n";
/pci/ and $ret .= "\tselect PCI_SUPPORT\n"; /pci/ and $ret .= "\tselect PCI_SUPPORT\n";

View File

@ -11,6 +11,9 @@ config LINUX_2_6
config HAS_FPU config HAS_FPU
bool bool
config AUDIO_SUPPORT
bool
config DISPLAY_SUPPORT config DISPLAY_SUPPORT
bool bool
@ -18,6 +21,7 @@ config GPIO_SUPPORT
bool bool
config PCI_SUPPORT config PCI_SUPPORT
select AUDIO_SUPPORT
bool bool
config PCIE_SUPPORT config PCIE_SUPPORT
@ -27,6 +31,7 @@ config PCMCIA_SUPPORT
bool bool
config USB_SUPPORT config USB_SUPPORT
select AUDIO_SUPPORT
bool bool
config BIG_ENDIAN config BIG_ENDIAN

View File

@ -20,7 +20,7 @@ ARCH:=$(shell uname -m | sed \
) )
BOARD:=uml BOARD:=uml
BOARDNAME:=User Mode Linux BOARDNAME:=User Mode Linux
FEATURES:=ext2 FEATURES:=ext2 audio
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH) LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
LINUX_VERSION:=2.6.30.10 LINUX_VERSION:=2.6.30.10

View File

@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel ARCH:=mipsel
BOARD:=xburst BOARD:=xburst
BOARDNAME:=XBurst JZ47x0 BOARDNAME:=XBurst JZ47x0
FEATURES:=jffs2 tgz ubifs FEATURES:=jffs2 tgz ubifs audio
LINUX_VERSION:=2.6.32.8 LINUX_VERSION:=2.6.32.7
DEVICE_TYPE=other DEVICE_TYPE=other