Remove unused arguments for this script.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
usage()
{
- echo "Usage: $0 [--arch=BuildArch] [--ndk-version=NDKVersion] [--api-level=APILevel] [--install-dir=InstallDir]"
- echo " BuildArch : arm64(default) or arm"
+ echo "Usage: $0 [--ndk-version=NDKVersion] [--install-dir=InstallDir]"
echo " NDKVersion : r20(default) or higher"
- echo " APILevel : 27(default) or higher"
echo " InstallDir : Path to be installed"
exit 1
}
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
-__BuildArch=arm64
__NDKVersion=r20
-__APILevel="27"
-__ACL=1
__UnprocessedBuildArgs=
while [[ $# -gt 0 ]]
usage
exit 1
;;
- --arch)
- __BuildArch="$2"
- shift
- ;;
- --arch)
- __BuildArch="${#*=}"
- ;;
--ndk-version=*)
__NDKVersion="$2"
shift
--ndk-version=*)
__NDKVersion="${1#*=}"
;;
- --api-level)
- __APILevel="$2"
- shift
- ;;
- --api-level=*)
- __APILevel="${1#*=}"
- ;;
--install-dir)
__InstallDir="$2"
shift