aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Huang <jim.huang@linaro.org>2011-03-12 02:55:54 +0800
committerJim Huang <jim.huang@linaro.org>2011-03-12 02:55:54 +0800
commit9a48f2c41c45803b9b219ea289a97b4c766a1c44 (patch)
tree979e8584aeadc8a9b7156bfbea3dcac3c6b5b720
parent18a5d6c8ef919915e9d85788b5fe575f7f78e28f (diff)
Use NDK style help messages
-rwxr-xr-xlinaro-build.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/linaro-build.sh b/linaro-build.sh
index 7f8ea75..986db9a 100755
--- a/linaro-build.sh
+++ b/linaro-build.sh
@@ -45,13 +45,15 @@ note() {
}
usage() {
- echo "--------------------------------------------------------------------"
- echo "--prefix= Specify where to install (default: /tmp/android-toolchain-eabi)"
- echo "--toolchain-src= Specify Android toolchain source dir (default: <toolchain/build>/../)"
- echo "--with-gcc= Specify GCC source (support: directory, bzr, url)"
- echo "--apply-gcc-patch=(yes|no) Apply gcc-patches (default: no)"
- echo "--help Print help message"
- echo "--------------------------------------------------------------------"
+ echo "Usage: linaro-build.sh [options]"
+ echo
+ echo "Valid options (defaults are in brackets)"
+ echo " --prefix=<path> Specify installation path [/tmp/android-toolchain-eabi]"
+ echo " --toolchain-src=<path> Toolchain source directory [`dirname $PWD`]"
+ echo " --with-gcc=<path> Specify GCC source (support: directory, bzr, url)"
+ echo " --apply-gcc-patch=<yes|no> Apply Linaro's extra gcc-patches [no]"
+ echo " --help Print this help message"
+ echo
}
ARG_LINARO_GCC_SRC_DIR=