From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1856FE0059A for ; Mon, 3 Feb 2014 02:39:49 -0800 (PST) Received: from localhost.localdomain (chello080108009040.14.11.vie.surfer.at [80.108.9.40]) by ptmx.org (Postfix) with ESMTPSA id 5B67D1FF5B for ; Mon, 3 Feb 2014 11:39:46 +0100 (CET) From: Carlos Rafael Giani To: meta-freescale@yoctoproject.org Date: Mon, 3 Feb 2014 11:41:49 +0100 Message-Id: <1391424109-1663-1-git-send-email-dv@pseudoterminal.org> X-Mailer: git-send-email 1.8.5.3 Subject: [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Make backend configurable X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 10:39:53 -0000 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 --- 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