[meta-freescale] [PATCH 02/14] weston: Remove duplication in variable value

Tom Hochstein tom.hochstein at nxp.com
Fri Nov 18 17:11:42 PST 2016


Rework variable implementation (using SoC override) so that
the value does not contain a duplication.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 recipes-graphics/wayland/weston_%.bbappend | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index d5602c9..366398f 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -27,14 +27,16 @@ PACKAGECONFIG_append = " ${PACKAGECONFIG_IMX_TO_APPEND}"
 PACKAGECONFIG_remove = " ${PACKAGECONFIG_IMX_TO_REMOVE}"
 
 
-EXTRA_OECONF_IMX = " \
+EXTRA_OECONF_IMX_COMMON = " \
     --disable-libunwind \
     --disable-xwayland-test \
     WESTON_NATIVE_BACKEND=fbdev-backend.so \
 "
+EXTRA_OECONF_IMX          = ""
+EXTRA_OECONF_IMX_imxpxp   = "${EXTRA_OECONF_IMX_COMMON}"
+EXTRA_OECONF_IMX_imxgpu2d = "${EXTRA_OECONF_IMX_COMMON}"
 
-EXTRA_OECONF_append_imxpxp   = " ${EXTRA_OECONF_IMX}"
-EXTRA_OECONF_append_imxgpu2d = " ${EXTRA_OECONF_IMX}"
+EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}"
 
 # Use a intermediate step to configure the linking flags
 IMXGPU_LIBS = ""
-- 
1.9.1



More information about the meta-freescale mailing list