From: Tom Hochstein Date: Thu, 23 May 2019 21:39:28 +0000 (-0500) Subject: weston: Add support for AGL and IVI X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b53d31959e078d4935fcaf8bbb90d95377e72e44;p=meta-freescale.git weston: Add support for AGL and IVI - For AGL, don't install weston.ini - For IVI, do install the IVI-shell version of weston.ini Signed-off-by: Tom Hochstein --- diff --git a/recipes-graphics/wayland/weston_5.0.0.imx.bb b/recipes-graphics/wayland/weston_5.0.0.imx.bb index 7649893b..10ce08ca 100644 --- a/recipes-graphics/wayland/weston_5.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_5.0.0.imx.bb @@ -120,7 +120,14 @@ do_install_append() { fi # install default weston.ini - install -D -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini + if [ -z "${@bb.utils.filter('BBFILE_COLLECTIONS', 'aglprofilegraphical', d)}" ]; then + if [ "${@bb.utils.filter('BBFILE_COLLECTIONS', 'ivi', d)}" ]; then + WESTON_INI_SRCDIR=${B}/ivi-shell + else + WESTON_INI_SRCDIR=${B} + fi + install -D -m 0644 ${WESTON_INI_SRCDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini + fi } PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \