From: Stephane Desneux Date: Wed, 20 Jun 2018 20:43:07 +0000 (+0200) Subject: kernel: enable 4A-specific config option snd-aloop X-Git-Tag: 5.99.2~37 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=e1964500cee5c72429b0deae6bb33d4f69b44716;p=AGL%2Fmeta-agl.git kernel: enable 4A-specific config option snd-aloop 4A requires some specific options in the linux kernel, like CONFIG_SND_ALOOP for softmixer. This patch adds a config fragment to the default linux kernel recipe. This is a copy of what has been done on EE: * https://gerrit.automotivelinux.org/gerrit/#/c/14303/ * https://gerrit.automotivelinux.org/gerrit/#/c/14561/ Change-Id: I5f8879f4ac1b3685f6d801b385d9b0ce9f17f9c7 Signed-off-by: Stephane Desneux --- diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc index 8ccdd53af..0a2b19c2e 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc +++ b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc @@ -75,3 +75,7 @@ KERNEL_CONFIG_FRAGMENTS_append_with-lsm-smack = "\ ${WORKDIR}/smack.cfg \ ${WORKDIR}/smack-default-lsm.cfg \ " + +# snd-aloop support for 4a +SRC_URI_append = " file://4a-sound.cfg" +KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/4a-sound.cfg" diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg new file mode 100644 index 000000000..780e1ad54 --- /dev/null +++ b/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg @@ -0,0 +1 @@ +CONFIG_SND_ALOOP=y