diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2011-02-22 12:28:19 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-23 16:23:32 +0000 |
| commit | 6abfee773fa9696fc7556da0bf78cd153080cb3d (patch) | |
| tree | dcb4833aa40058529be3fd3dc6ce533c72f8bbe9 /meta/recipes-kernel | |
| parent | dca876b8f611704a238842c9e4db293d1a1be247 (diff) | |
| download | poky-6abfee773fa9696fc7556da0bf78cd153080cb3d.tar.gz | |
linux-yocto: enable audio for selected qemu targets
Fixes [BUGID #488 #734]
Enable audio for qemux86/qemux86-64 via the following kernel
configuration options.
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RAWMIDI_SEQ=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ENS1370=m
CONFIG_SND_INTEL8X0=m
CONFIG_AC97_BUS=m
The mechanism to trigger these options is in the form of an
optional kernel feature that is only appended for qemux86
and qemux86-64, but is contained within the kernel tree.
This allows several things:
- the options to be available/shared for all boards
- the options to be in tree
- to not add the options to every board, which unecessarily
bloats the default configuration.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/recipes-kernel')
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto_git.bb b/meta/recipes-kernel/linux/linux-yocto_git.bb index 75c6fb1653..9a3c666ae8 100644 --- a/meta/recipes-kernel/linux/linux-yocto_git.bb +++ b/meta/recipes-kernel/linux/linux-yocto_git.bb | |||
| @@ -17,7 +17,7 @@ KMETA = meta | |||
| 17 | 17 | ||
| 18 | LINUX_VERSION ?= "2.6.37" | 18 | LINUX_VERSION ?= "2.6.37" |
| 19 | LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" | 19 | LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" |
| 20 | PR = "r15" | 20 | PR = "r16" |
| 21 | PV = "${LINUX_VERSION}+git${SRCPV}" | 21 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 22 | SRCREV_FORMAT = "meta_machine" | 22 | SRCREV_FORMAT = "meta_machine" |
| 23 | 23 | ||
| @@ -28,7 +28,9 @@ COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|mpc8315e-rdb| | |||
| 28 | 28 | ||
| 29 | # Functionality flags | 29 | # Functionality flags |
| 30 | KERNEL_REVISION_CHECKING ?= "t" | 30 | KERNEL_REVISION_CHECKING ?= "t" |
| 31 | KERNEL_FEATURES=features/netfilter | 31 | KERNEL_FEATURES="features/netfilter" |
| 32 | KERNEL_FEATURES_append_qemux86=" cfg/sound" | ||
| 33 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound" | ||
| 32 | 34 | ||
| 33 | # extra tasks | 35 | # extra tasks |
| 34 | addtask kernel_link_vmlinux after do_compile before do_install | 36 | addtask kernel_link_vmlinux after do_compile before do_install |
