]> code.ossystems Code Review - meta-freescale.git/commit
weston: fix the test condition for agl builds
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Fri, 1 Nov 2019 11:19:25 +0000 (11:19 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 1 Nov 2019 12:39:52 +0000 (09:39 -0300)
commitc3e3303e5b69dba38c04a535808bf60f58a11a01
treed578d0fd9fcbf2ed0ffbbce793937b178cf6fef0
parent218e7c48e6d7b95f61a9991c0d3c3bf4b38a34c4
weston: fix the test condition for agl builds

Fix the variable test condition, wich is used during inclusion of
weston.ini file in the agl and non-agl builds.

Since for non-agl build there is no algprofilegraphics in the
collection, variable expands to an empty string and test condition
evaluates to true for both agl and non-agl builds.
This causes the weston.ini file to be installed regardless of whether
the agl is found or not.

Usage of a different condition check (lenght instead of empty) eliminates
this issue.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
recipes-graphics/wayland/weston_5.0.0.imx.bb