Lines Matching refs:PREBUILT
19 # You will need prebuilt toolchain binary tarballs or a previous
26 . `dirname $0`/prebuilt-common.sh
42 register_var_option "--prebuilt-dir=<path>" PREBUILT_DIR "Specify prebuilt directory"
44 # a prebuilt NDK archive (.zip file). empty means don't use any
46 register_var_option "--prebuilt-ndk=<file>" PREBUILT_NDK "Specify prebuilt ndk package"
86 You will need to have generated one or more prebuilt binary tarballs
91 Use the --prebuilt-dir=<path> option to build release packages from the
94 Alternatively, you can use --prebuilt-ndk=<file> where <file> is the path
143 # Check the prebuilt path
146 echo "ERROR: You cannot use both --prebuilt-ndk and --prebuilt-dir at the same time."
151 echo "ERROR: You must use one of --prebuilt-dir or --prebuilt-ndk. See --help for details."
167 # Handle the prebuilt binaries now
171 echo "ERROR: the --prebuilt-dir argument is not a directory: $PREBUILT_DIR"
183 echo "ERROR: Missing prebuilt file $TC-$SYS.tar.bz2 in: $PREBUILT_DIR"
188 echo "ERROR: Missing prebuilt file $TC-gdbserver.tar.bz2 in: $PREBUILT_DIR"
194 echo "ERROR: the --prebuilt-ndk argument is not a file: $PREBUILT_NDK"
200 fail_panic "The name of the prebuilt NDK must end in $HOST_NDK_SUFFIX"
288 # Unpack a prebuilt into the destination directory ($DSTDIR)
289 # $1: prebuilt name, relative to $PREBUILT_DIR
292 local PREBUILT=$1
293 echo "Unpacking $PREBUILT"
294 if [ -f "$PREBUILT_DIR/$PREBUILT" ] ; then
295 unpack_archive "$PREBUILT_DIR/$PREBUILT" "$DSTDIR"
296 fail_panic "Could not unpack prebuilt $PREBUILT. Aborting."
298 echo "WARNING: Could not find $PREBUILT in $PREBUILT_DIR"
303 # stored under toolchains/<name>/prebuilt/linux-x86/arm-linux-androideabi/
304 # and we need to unpack them under toolchains/<name>/prebuilt/<system>/arm-linux-androideabi/
306 # $1: prebuilt name, relative to $PREBUILT_DIR
313 local PREBUILT=$1
314 echo "Unpacking $PREBUILT"
315 if [ -f "$PREBUILT_DIR/$PREBUILT" ] ; then
317 unpack_archive "$PREBUILT_DIR/$PREBUILT" "$TMPUNPACKDIR"
318 fail_panic "Could not unpack prebuilt $PREBUILT. Aborting."
319 (cd $TMPUNPACKDIR/toolchains/*/prebuilt && mv linux-x86 $SYSTEM)
324 echo "WARNING: Could not find $PREBUILT in $PREBUILT_DIR"
351 echo "Unpacking prebuilt toolchains from $PREBUILT_NDK"
387 rm -rf $DSTDIR/toolchains/$TC/prebuilt/$SYSTEM/sysroot
391 # Unpack prebuilt STL headers and libraries
400 # Unpack prebuilt ndk-stack