summaryrefslogtreecommitdiffstats
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.xv@rvc.renesas.com>2018-02-26 09:01:16 +0700
committerKhang Nguyen <khang.nguyen.xv@rvc.renesas.com>2018-03-22 13:36:54 +0700
commit7276dbc4e6a1d9199dbade162cb1d144bf5cd4f4 (patch)
tree3e7498e5fbe4f8a1f4956ae3c941ee79fd1531a3 /meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
parenta6ae66ceba4bebf26f97aa5af720477c816467ec (diff)
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 <khang.nguyen.xv@rvc.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.bb6
1 files changed, 6 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 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"