All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: meta-freescale@yoctoproject.org
Subject: [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Make backend configurable
Date: Mon,  3 Feb 2014 11:41:49 +0100	[thread overview]
Message-ID: <1391424109-1663-1-git-send-email-dv@pseudoterminal.org> (raw)

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



             reply	other threads:[~2014-02-03 10:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-03 10:41 Carlos Rafael Giani [this message]
2014-02-03 11:23 ` [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Make backend configurable 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1391424109-1663-1-git-send-email-dv@pseudoterminal.org \
    --to=dv@pseudoterminal.org \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.