aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_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/linux-renesas_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/linux-renesas_4.14.bb')
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
index 61f3803..5cce5ba 100644
--- a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
@@ -1,6 +1,7 @@
DESCRIPTION = "Linux kernel for the R-Car Generation 3 based board"
require include/avb-control.inc
+require include/iccom-control.inc
require recipes-kernel/linux/linux-yocto.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/:"
@@ -22,6 +23,16 @@ SRC_URI_append = " \
${@base_conditional("USE_AVB", "1", " file://usb-video-class.cfg", "", d)} \
"
+# Enable RPMSG_VIRTIO depend on ICCOM
+SUPPORT_ICCOM = " \
+ file://0001-rpmsg-Add-message-to-be-able-to-configure-RPMSG_VIRT.patch \
+ file://iccom.cfg \
+"
+
+SRC_URI_append = " \
+ ${@base_conditional("USE_ICCOM", "1", "${SUPPORT_ICCOM}", "", d)} \
+"
+
# Add SCHED_DEBUG config fragment to support CAS
SRC_URI_append = " \
${@bb.utils.contains('MACHINE_FEATURES','cas','file://capacity_aware_migration_strategy.cfg','',d)} \