summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-06-20 22:43:07 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2018-07-02 16:21:13 +0200
commite1964500cee5c72429b0deae6bb33d4f69b44716 (patch)
treef358f3f122aba1a19e5f5d54e63056f3f27e1ac7 /meta-agl-bsp/recipes-kernel
parent4dcfa08a85c5d96d1849dc23d5dda673ab181727 (diff)
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 <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-agl-bsp/recipes-kernel')
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux-agl.inc4
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg1
2 files changed, 5 insertions, 0 deletions
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