From 1a59e20243db960f78822c5a2dfdb703ecf1b8f2 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Thu, 23 May 2019 16:39:28 -0500 Subject: [PATCH] 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 --- recipes-graphics/wayland/weston_5.0.0.imx.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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)} \ -- 2.40.1