If using meta-arago-extras in another distro, there is a parsing error
if TOOLCHAIN_PATH is not set. There is an apparent conflict between
very weak assignment (??=) and immediate assignment (:=) where during
parsing, the immediate assignment occurs before the very weak
assignment. This causes a parsing error as TOOLCHAIN_PATH resovled as
the none type when it is appended to a string.

Use weak assignment (?=) to resolve this parsing issue.

Signed-off-by: Jacob Stiffler <[email protected]>
---
 meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc 
b/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
index 47911a2..f2764cc 100644
--- a/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
+++ b/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
@@ -1,4 +1,4 @@
-TOOLCHAIN_PATH ??= "${STAGING_BINDIR_TOOLCHAIN}"
+TOOLCHAIN_PATH ?= "${STAGING_BINDIR_TOOLCHAIN}"
 
 def elt_get_bfd_version(d):
        import subprocess,os,bb
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to