diff options
| -rwxr-xr-x | scripts/oe-find-native-sysroot | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index 81d62b8882..13a5c46039 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot | |||
| @@ -30,6 +30,20 @@ | |||
| 30 | # with this program; if not, write to the Free Software Foundation, Inc., | 30 | # with this program; if not, write to the Free Software Foundation, Inc., |
| 31 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 31 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 32 | 32 | ||
| 33 | if [ "$1" = '--help' -o "$1" = '-h' ] ; then | ||
| 34 | echo 'Usage: oe-find-native-sysroot [-h|--help]' | ||
| 35 | echo '' | ||
| 36 | echo 'OpenEmbedded find-native-sysroot - helper script to set' | ||
| 37 | echo 'environment variables OECORE_NATIVE_SYSROOT and PSEUDO' | ||
| 38 | echo 'to the path of the native sysroot directory and pseudo' | ||
| 39 | echo 'executable binary' | ||
| 40 | echo '' | ||
| 41 | echo 'options:' | ||
| 42 | echo ' -h, --help show this help message and exit' | ||
| 43 | echo '' | ||
| 44 | exit 2 | ||
| 45 | fi | ||
| 46 | |||
| 33 | if [ "x$OECORE_NATIVE_SYSROOT" = "x" ]; then | 47 | if [ "x$OECORE_NATIVE_SYSROOT" = "x" ]; then |
| 34 | BITBAKE=`which bitbake 2> /dev/null` | 48 | BITBAKE=`which bitbake 2> /dev/null` |
| 35 | if [ "x$BITBAKE" != "x" ]; then | 49 | if [ "x$BITBAKE" != "x" ]; then |
