From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/conf/distro/include/toolchain-external.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/conf/distro/include/toolchain-external.inc 
b/meta-arago-distro/conf/distro/include/toolchain-external.inc
index 5356082..4d14c00 100644
--- a/meta-arago-distro/conf/distro/include/toolchain-external.inc
+++ b/meta-arago-distro/conf/distro/include/toolchain-external.inc
@@ -1,4 +1,4 @@
 # Locate the toolchain automatically from PATH
-TOOLCHAIN_SYSPATH := 
"${@os.path.abspath(os.path.dirname(bb.which(d.getVar('PATH', d, 1), 
d.getVar('TOOLCHAIN_PREFIX', d, 1)+'cpp'))+'/../'+d.getVar('TOOLCHAIN_SYS', d, 
1))}"
+TOOLCHAIN_SYSPATH := 
"${@os.path.abspath(os.path.dirname(bb.utils.which(d.getVar('PATH', d, 1), 
d.getVar('TOOLCHAIN_PREFIX', d, 1)+'cpp'))+'/../'+d.getVar('TOOLCHAIN_SYS', d, 
1))}"
 TOOLCHAIN_PATH := "${@bool(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and 
(os.path.exists(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and 
os.path.dirname(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) or bb.fatal('No valid 
toolchain in PATH')) or ''}"
 EXTERNAL_TOOLCHAIN = "${TOOLCHAIN_PATH}"
-- 
2.0.0

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

Reply via email to