Move snd-aloop kernel config to common linux-agl.inc 61/14561/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 20 Jun 2018 20:43:07 +0000 (22:43 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 20 Jun 2018 20:56:15 +0000 (22:56 +0200)
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>
meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg [new file with mode: 0644]

index 621079a..e86f936 100644 (file)
@@ -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 (file)
index 0000000..780e1ad
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_SND_ALOOP=y