aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
diff options
context:
space:
mode:
authorKhang Nguyen <khang.nguyen.xw@renesas.com>2018-10-15 09:16:25 -0400
committerKhang Nguyen <khang.nguyen.xv@renesas.com>2018-10-29 13:41:32 +0700
commita74f60eaa225e0729234522582681d8c63abdc63 (patch)
tree8e5faab242912db808ad624ef38165a2175e9cd8 /meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
parent4787fee594d0215a32e4a84c799e315a3c8e004a (diff)
rcar-gen3: linux-renesas: Add support ADSP ALSA driver
This commit modifies recipes to support building ADSP ALSA driver when enabling adsp distro feature. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb')
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb b/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
index 5b0995b..68b24e7 100644
--- a/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
+++ b/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
@@ -1,5 +1,6 @@
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
require include/iccom-control.inc
+require include/adsp-control.inc
RENESAS_BSP_URL = " \
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git"
@@ -23,4 +24,16 @@ SRC_URI_append = " \
file://0006-arm64-dts-r8a7796-salvator-x-Remove-Sound-Card.patch \
"
+# Add ADSP ALSA driver
+SUPPORT_ADSP_ASOC = " \
+ file://0001-Add-build-for-ADSP-sound-driver.patch \
+ file://0002-Add-document-file-for-ADSP-sound-driver.patch \
+ file://0003-Add-ADSP-sound-driver-source.patch \
+ file://0004-Update-device-tree-for-ADSP-sound-driver.patch \
+"
+
+SRC_URI_append = " \
+ ${@base_conditional("USE_ADSP", "1", "${SUPPORT_ADSP_ASOC}", "", d)} \
+"
+
S = "${WORKDIR}/git"