From 7276dbc4e6a1d9199dbade162cb1d144bf5cd4f4 Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Mon, 26 Feb 2018 09:01:16 +0700 Subject: rcar-gen3: linux-renesas: Enable RPMSG_VIRTIO config depend on ICCOM This commit modifies recipe to enable RPMSG_VIRTIO config depend on ICCOM distro feature. Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda --- .../recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb') 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 6f31703..8585fa9 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,4 +1,5 @@ require recipes-kernel/linux-libc-headers/linux-libc-headers.inc +require include/iccom-control.inc RENESAS_BSP_URL = " \ git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git" @@ -7,4 +8,9 @@ SRCREV = "4a7e26bdbc8d210369eab25765c277200cd910a8" SRC_URI = "${RENESAS_BSP_URL};branch=${BRANCH}" +# Enable RPMSG_VIRTIO depend on ICCOM +SRC_URI_append = " \ + ${@base_conditional("USE_ICCOM", "1", " file://0001-rpmsg-Add-message-to-be-able-to-configure-RPMSG_VIRT.patch", "", d)} \ +" + S = "${WORKDIR}/git" -- cgit 1.2.3-korg