- For AGL, don't install weston.ini
- For IVI, do install the IVI-shell version of weston.ini
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
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)} \