summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/oe-run-native11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/oe-run-native b/scripts/oe-run-native
index 496e34f70e..7e26ea3fcc 100755
--- a/scripts/oe-run-native
+++ b/scripts/oe-run-native
@@ -22,8 +22,15 @@
22# 22#
23 23
24if [ $# -lt 1 -o "$1" = '--help' -o "$1" = '-h' ] ; then 24if [ $# -lt 1 -o "$1" = '--help' -o "$1" = '-h' ] ; then
25 echo "Usage: $0 <native tool> [parameters]" 25 echo 'oe-run-native: error: the following arguments are required: <native tool>'
26 exit 1 26 echo 'Usage: oe-run-native tool [parameters]'
27 echo ''
28 echo 'OpenEmbedded run-native - runs native tools'
29 echo ''
30 echo 'arguments:'
31 echo ' tool Native tool to run'
32 echo ''
33 exit 2
27fi 34fi
28 35
29SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot 2> /dev/null` 36SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot 2> /dev/null`