summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-06-20 22:43:07 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-06-20 22:56:15 +0200
commita29d0b27952e506e8da4284367c0e50a06c73084 (patch)
tree4f50e83a99f33c9a2552030f0c4a8cb84f8da3ac /meta-agl-bsp
parentf4e51b01d68d3a1ecf4bab1fafa48a79bb0f220a (diff)
Move snd-aloop kernel config to common linux-agl.inc
Move the sound config into the generic kernel fragment inclusion. This enhances the build speed in the end (linux-libc-headers). As discussed during ALS Tokyo. Change-Id: I5f8879f4ac1b3685f6d801b385d9b0ce9f17f9c7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp')
-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 621079a18..e86f9362a 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_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