mirror of
https://git.yoctoproject.org/poky
synced 2026-12-03 00:16:32 +00:00
scripts: Show sensible warning messages if expected binaries don't exist
[YOCTO #1438] (From OE-Core rev: 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
c0df2ab7eb
commit
d1a84c9f3d
6 files changed
+40
-12
No files matched your search
@@ -38,7 +38,7 @@ fi
|
||||
# Ensure the nfs-export-dir is an absolute path
|
||||
NFS_EXPORT_DIR=$(cd "$2" && pwd)
|
||||
|
||||
SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot`
|
||||
SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot 2> /dev/null`
|
||||
if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
|
||||
echo "Error: Unable to find the oe-find-native-sysroot script"
|
||||
echo "Did you forget to source your build environment setup script?"
|
||||
|
||||
Reference in new issue
Block a user