]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston-init: Keep the logic to edit weston.ini to meta-freescale
authorKhem Raj <raj.khem@gmail.com>
Mon, 18 Nov 2019 20:49:55 +0000 (12:49 -0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Nov 2019 12:07:53 +0000 (09:07 -0300)
This logic does not work across multiple layers even OE-Core machines
dont build with it. For now its best to keep this confined to
meta-freescale machines

Idea is good but it needs to align with OE-core's methods where
currently in OE-Core we expect machines to override weston.ini
completely per machine, this logic sort of goes against it. However it
has some goodness to it, eg. adding options based on DISTRO_FEATURES
which OE-Core could have too but maybe implemented differently.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes-graphics/wayland/weston-init.bbappend

index e5b90a57a40404234c766783acbd23463a055dc7..041afd7915e853efa3fea05d184fae5b1e43581a 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI_append_mx6sl = "file://weston.config"
 # commented out. For example:
 #     #xwayland=true
 # Then add the assignment to INI_UNCOMMENT_ASSIGNMENTS.
-INI_UNCOMMENT_ASSIGNMENTS = " \
+INI_UNCOMMENT_ASSIGNMENTS_append_imx = " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland=true', '', d)} \
 "
 INI_UNCOMMENT_ASSIGNMENTS_append_mx7ulp = " \