All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Make backend configurable
@ 2014-02-03 10:41 Carlos Rafael Giani
  2014-02-03 11:23 ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Carlos Rafael Giani @ 2014-02-03 10:41 UTC (permalink / raw)
  To: meta-freescale

With this change, the user can set USE_X11 etc. in local.conf to
override the recipe's DISTRO_FEATURES based choice. This is for example
beneficial when both X11 and wayland are supported, or when the user
wants to make use of the regular framebuffer backend. (Modifying
the distro features list may have far reaching consequences.)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 2b94153..4e37db0 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -60,9 +60,9 @@ python __anonymous () {
                 raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine")
 }
 
-USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
-USE_DFB = "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}"
-USE_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
+USE_X11 ?= "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
+USE_DFB ?= "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}"
+USE_WL ?= "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
 
 # Inhibit warnings about files being stripped.
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-03 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 10:41 [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Make backend configurable Carlos Rafael Giani
2014-02-03 11:23 ` Otavio Salvador
2014-02-03 11:30   ` Carlos Rafael Giani
2014-02-03 11:34     ` Otavio Salvador
2014-02-03 11:43       ` Daiane Angolini
2014-02-03 12:13         ` Carlos Rafael Giani
2014-02-03 12:09           ` Daiane Angolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.