X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=meta-agl-bsp%2Frecipes-graphics%2Fwayland%2Fweston-ini-conf.bbappend;h=00cd35b3a3f4c41a1fe94981e34e19428ae65fbb;hb=2e3bd87950bd010eb9ce0ca9677a4a3e928a0002;hp=dba2ad6b20e866090a1e0ad8cf4a8de50bea2838;hpb=7d1d7457ff2b71abe95525b26148d5a3e7a42790;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-bsp/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/recipes-graphics/wayland/weston-ini-conf.bbappend index dba2ad6b2..00cd35b3a 100644 --- a/meta-agl-bsp/recipes-graphics/wayland/weston-ini-conf.bbappend +++ b/meta-agl-bsp/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -1,17 +1,12 @@ -# OVERRIDES save us some c'n'p below ... -OVERRIDES_prepend_qemux86 = "customwestonini:" -OVERRIDES_prepend_qemux86-64 = "customwestonini:" -# intel-corei7-64 ?? +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -python() { - if "customwestonini" in d.getVar("OVERRIDES", True).split(":"): - # DRM backend disabled for now to allow compatibility with VirtualBox - # and VMWare Player. It may be re-enabled if running on QEMU for - # potentially increased performance. - #backend=drm-backend.so - d.delVarFlag("WESTONCORE", "backend") +PACKAGE_ARCH = "${MACHINE_ARCH}" - d.setVarFlag("WESTONOUTPUT1","agl_screen", "SCREEN_QEMU") -} +SRC_URI += "${@bb.utils.contains("DISTRO_FEATURES", "gst-record", "file://virtualoutput.cfg", "",d)}" +do_configure_append() { + if ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)}; then + echo virtual=1 >> ${WORKDIR}/core.cfg + fi +}