From 24d3e7a7974ee68d1170732f38eff7af6947fffa Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Sun, 29 Jul 2012 13:47:53 -0400 Subject: [PATCH] tcmode-external-sourcery: make failure to extract the sysroot fatal Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-sourcery.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index 7f17f56..bad5ce6 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -75,7 +75,8 @@ python toolchain_metadata_setup () { stderr=subprocess.PIPE, env={"PATH": l.getVar('PATH', True)})[0].rstrip() except bb.process.CmdError as exc: - bb.warn(str(exc)) + bb.fatal(str(exc)) + d.setVar('EXTERNAL_TOOLCHAIN_SYSROOT', toolchain_sysroot) if os.path.exists(bb.data.expand('${EXTERNAL_TOOLCHAIN}/bin/gcc', l)):