mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
dca876b8f6
commit
6abfee773f
@@ -17,7 +17,7 @@ KMETA = meta
|
||||
|
||||
LINUX_VERSION ?= "2.6.37"
|
||||
LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
|
||||
PR = "r15"
|
||||
PR = "r16"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
SRCREV_FORMAT = "meta_machine"
|
||||
|
||||
@@ -28,7 +28,9 @@ COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|mpc8315e-rdb|
|
||||
|
||||
# Functionality flags
|
||||
KERNEL_REVISION_CHECKING ?= "t"
|
||||
KERNEL_FEATURES=features/netfilter
|
||||
KERNEL_FEATURES="features/netfilter"
|
||||
KERNEL_FEATURES_append_qemux86=" cfg/sound"
|
||||
KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
|
||||
|
||||
# extra tasks
|
||||
addtask kernel_link_vmlinux after do_compile before do_install
|
||||
|
||||
Reference in New Issue
Block a user