diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2019-11-01 11:19:25 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-11-01 09:39:52 -0300 |
commit | c3e3303e5b69dba38c04a535808bf60f58a11a01 (patch) | |
tree | d578d0fd9fcbf2ed0ffbbce793937b178cf6fef0 /recipes-graphics | |
parent | 218e7c48e6d7b95f61a9991c0d3c3bf4b38a34c4 (diff) | |
download | meta-freescale-c3e3303e5b69dba38c04a535808bf60f58a11a01.tar.gz |
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>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/wayland/weston_5.0.0.imx.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/wayland/weston_5.0.0.imx.bb b/recipes-graphics/wayland/weston_5.0.0.imx.bb index 10ce08ca..9f32d94a 100644 --- a/recipes-graphics/wayland/weston_5.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_5.0.0.imx.bb | |||
@@ -120,7 +120,7 @@ do_install_append() { | |||
120 | fi | 120 | fi |
121 | 121 | ||
122 | # install default weston.ini | 122 | # install default weston.ini |
123 | if [ -z "${@bb.utils.filter('BBFILE_COLLECTIONS', 'aglprofilegraphical', d)}" ]; then | 123 | if [ -n "${@bb.utils.filter('BBFILE_COLLECTIONS', 'aglprofilegraphical', d)}" ]; then |
124 | if [ "${@bb.utils.filter('BBFILE_COLLECTIONS', 'ivi', d)}" ]; then | 124 | if [ "${@bb.utils.filter('BBFILE_COLLECTIONS', 'ivi', d)}" ]; then |
125 | WESTON_INI_SRCDIR=${B}/ivi-shell | 125 | WESTON_INI_SRCDIR=${B}/ivi-shell |
126 | else | 126 | else |