From: Jérémy Fanguède Date: Tue, 15 Oct 2019 12:48:04 +0000 (+0200) Subject: Enable Xen for m3ulcb X-Git-Tag: 9.99.1~86 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F22202%2F10;p=AGL%2Fmeta-agl.git 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 --- 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