Patchwork tclibc-uclibc: Changing assignment to conditional variable assignment

login
register
mail settings
Submitter Andrey Belous
Date March 12, 2014, 6:57 p.m.
Message ID <1394650623-18854-1-git-send-email-abelous@broadcom.com>
Download mbox | patch
Permalink /patch/68545/
State New
Headers show

Comments

Andrey Belous - March 12, 2014, 6:57 p.m.
From: Andrey Belous <abelous@hotmail.com>

Setting of a variable PREFERRED_PROVIDER_virtual/libc only if it doesn't have a value

Signed-off-by: Andrey Belous <abelous@broadcom.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 meta/conf/distro/include/tclibc-uclibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc
index 9245112..a4d8c39 100644
--- a/meta/conf/distro/include/tclibc-uclibc.inc
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -8,7 +8,7 @@  LIBCEXTENSION = "-uclibc"
 LIBCOVERRIDE = ":libc-uclibc"
 OVERRIDES .= "${LIBCOVERRIDE}"
 
-PREFERRED_PROVIDER_virtual/libc = "uclibc"
+PREFERRED_PROVIDER_virtual/libc ?= "uclibc"
 PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"
 PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
 PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"