aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
diff options
context:
space:
mode:
authorJérémy Fanguède <j.fanguede@virtualopensystems.com>2019-10-15 14:48:04 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-12 18:01:05 +0000
commit50e41ba7b4ccd5df20e9e32f356fcb6c67831ef9 (patch)
treee1727b21416d00ebdf84bb16b0f9ef555dbc2b45 /meta-agl-bsp/conf
parent51abffddc77897fc266682be16e7f468613c2216 (diff)
Enable Xen for m3ulcb
Xen is enabled for the R-Car M3 ulcb board only. Note that it is optional to run Xen, the non-Xen binaries are still there and can be run exactly as before. Bug-AGL: SPEC-2912 Change-Id: Ica57afd4d067de4ed752c0c46a04e11584aeec41 Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r--meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc4
-rw-r--r--meta-agl-bsp/conf/include/agl_m3ulcb.inc3
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc b/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
index a5789c324..e045b3f66 100644
--- a/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
+++ b/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
@@ -8,3 +8,7 @@ DTB_SUFFIX = "r8a7796-m3ulcb"
BBMASK += "gles-user-module|kernel-module-gles|wayland-kms|libgbm"
# Mask MMP recipes
BBMASK += "kernel-module-uvcs-drv|omx-user-module"
+
+DISTRO_FEATURES_append = "${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen', '', d)}"
+IMAGE_INSTALL_append = "${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen-base xen-mkimage', '', d)}"
+
diff --git a/meta-agl-bsp/conf/include/agl_m3ulcb.inc b/meta-agl-bsp/conf/include/agl_m3ulcb.inc
index 7a1d6add4..71c0a0bcb 100644
--- a/meta-agl-bsp/conf/include/agl_m3ulcb.inc
+++ b/meta-agl-bsp/conf/include/agl_m3ulcb.inc
@@ -3,3 +3,6 @@ SOC_FAMILY = "r8a7796"
BOARD_NAME = "m3ulcb"
DTB_SUFFIX = "r8a7796-m3ulcb"
+
+DISTRO_FEATURES_append = "${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen', '', d)}"
+IMAGE_INSTALL_append = "${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen-base xen-mkimage', '', d)}" \ No newline at end of file