Home | History | Annotate | Download | only in standalone

Lines Matching refs:SYSROOT

53 SYSROOT=
70 --no-sysroot)
79 --sysroot=*)
80 SYSROOT=$optarg
109 echo "The script will automatically use an NDK-provided sysroot, but you can specify an"
110 echo "alternate one with the --sysroot=<path> option. You can also use --no-sysroot if"
111 echo "the toolchain already provides its own sysroot (e.g. if it is a standalone toolchain"
134 echo " --sysroot=<path> Specify alternate sysroot."
135 echo " --no-sysroot Do not use a sysroot."
354 SYSROOT=
355 elif [ -n "$SYSROOT" ]; then
356 if [ ! -d "$SYSROOT" ]; then
357 panic "Sysroot directory does not exist: $SYSROOT"
359 # Sysroot must be absolute path
360 SYSROOT=$(cd $SYSROOT && pwd)
361 COMMON_FLAGS=$COMMON_FLAGS" --sysroot=$SYSROOT"
363 # Auto-detect sysroot
364 SYSROOT=$NDK_ROOT/platforms/android-9/arch-$ARCH
365 if [ ! -d "$SYSROOT" ]; then
366 panic "Can't find sysroot file, use --sysroot to point to valid one: $SYSROOT"
368 if [ ! -f "$SYSROOT/usr/lib/libc.so" ]; then
369 panic "Incomplete sysroot, use --sysroot to point to valid one: $SYSROOT"
372 SYSROOT=`cygpath -m $SYSROOT`
376 SYSROOT=$(cd $SYSROOT ; pwd -W)
379 dump "Auto-config: --sysroot=$SYSROOT"
380 COMMON_FLAGS=$COMMON_FLAGS" --sysroot=$SYSROOT"