From e1964500cee5c72429b0deae6bb33d4f69b44716 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Wed, 20 Jun 2018 22:43:07 +0200 Subject: 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 --- meta-agl-bsp/recipes-kernel/linux/linux-agl.inc | 4 ++++ meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg | 1 + 2 files changed, 5 insertions(+) create mode 100644 meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg (limited to 'meta-agl-bsp') 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 -- cgit 1.2.3-korg