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
define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support
define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support
- DEPENDS:=@PCI_SUPPORT||USB_SUPPORT||TARGET_uml
+ DEPENDS:=@AUDIO_SUPPORT
KCONFIG:= \
CONFIG_SOUND \
CONFIG_SND \
KCONFIG:= \
CONFIG_SOUND \
CONFIG_SND \
while ($_ = shift @_) {
/broken/ and $ret .= "\tdepends BROKEN\n";
while ($_ = shift @_) {
/broken/ and $ret .= "\tdepends BROKEN\n";
+ /audio/ and $ret .= "\tselect AUDIO_SUPPORT\n";
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
/gpio/ and $ret .= "\tselect GPIO_SUPPORT\n";
/pci/ and $ret .= "\tselect PCI_SUPPORT\n";
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
/gpio/ and $ret .= "\tselect GPIO_SUPPORT\n";
/pci/ and $ret .= "\tselect PCI_SUPPORT\n";
+config AUDIO_SUPPORT
+ bool
+
config DISPLAY_SUPPORT
bool
config DISPLAY_SUPPORT
bool
)
BOARD:=uml
BOARDNAME:=User Mode Linux
)
BOARD:=uml
BOARDNAME:=User Mode Linux
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
LINUX_VERSION:=2.6.30.10
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
LINUX_VERSION:=2.6.30.10
ARCH:=mipsel
BOARD:=xburst
BOARDNAME:=XBurst JZ47x0
ARCH:=mipsel
BOARD:=xburst
BOARDNAME:=XBurst JZ47x0
-FEATURES:=jffs2 tgz ubifs
+FEATURES:=jffs2 tgz ubifs audio