summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_00-init.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-01-17 09:55:16 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-01-17 09:55:16 +0100
commitb692649c6999d68703cc0a55b1e91fb78e21200d (patch)
treec832b8a1e44327df3c38a77291aab400082372f0 /scripts/lib/ptxd_make_00-init.sh
parent45097c9c8f7e4e278b4bfba5c68b18f7ef59519f (diff)
downloadptxdist-b692649c6999d68703cc0a55b1e91fb78e21200d.tar.gz
ptxdist-b692649c6999d68703cc0a55b1e91fb78e21200d.tar.xz
ptxd_init_sysroot_toolchain: print error message when toolchain sysroot cannot be detected
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_00-init.sh')
-rw-r--r--scripts/lib/ptxd_make_00-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_00-init.sh b/scripts/lib/ptxd_make_00-init.sh
index 84d3bfdbd..730254559 100644
--- a/scripts/lib/ptxd_make_00-init.sh
+++ b/scripts/lib/ptxd_make_00-init.sh
@@ -104,7 +104,7 @@ ptxd_init_sysroot_toolchain() {
"$(ptxd_cross_cc -print-file-name=libc.so 2> /dev/null)")"
if [ $? -ne 0 -o -z "${sysroot}" ]; then
- return 1
+ ptxd_bailout "Could not detect toolchain sysroot! The toolchain is broken or not configured correctly."
fi
PTXDIST_SYSROOT_TOOLCHAIN="$(ptxd_abspath "${sysroot}")" || return