Signed-off-by: Denys Dmytriyenko <[email protected]>
---
meta-arago-distro/conf/distro/include/toolchain-external.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-arago-distro/conf/distro/include/toolchain-external.inc
b/meta-arago-distro/conf/distro/include/toolchain-external.inc
index 4d14c00..c48b09d 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.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 ''}"
+# Set some default toolchain location variables
+TOOLCHAIN_PATH ??= "/usr/local/sdk"
+TOOLCHAIN_SYSPATH = "${TOOLCHAIN_PATH}/${TOOLCHAIN_SYS}"
EXTERNAL_TOOLCHAIN = "${TOOLCHAIN_PATH}"
--
2.7.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago