Good catch, indeed.
On Fri, Jun 20, 2014 at 07:10:37PM +0000, Maupin, Chase wrote: > Do you mean is "now" part of bb.utils module? > > Acked-by: Chase Maupin <[email protected]> > > > >-----Original Message----- > >From: [email protected] [mailto:meta-arago- > >[email protected]] On Behalf Of Denys Dmytriyenko > >Sent: Friday, June 20, 2014 12:57 PM > >To: [email protected] > >Subject: [meta-arago] [PATCH 14/19] toolchain-external: bb.which() > >is not part of bb.utils module > > > >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 > _______________________________________________ > meta-arago mailing list > [email protected] > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
