Lines Matching refs:PREBUILT_DIR
41 PREBUILT_DIR=
42 register_var_option "--prebuilt-dir=<path>" PREBUILT_DIR "Specify prebuilt directory"
174 if [ -n "$PREBUILT_NDK" -a -n "$PREBUILT_DIR" ] ; then
179 if [ -z "$PREBUILT_DIR" -a -z "$PREBUILT_NDK" ] ; then
198 if [ -n "$PREBUILT_DIR" ] ; then
199 if [ ! -d "$PREBUILT_DIR" ] ; then
200 echo "ERROR: the --prebuilt-dir argument is not a directory: $PREBUILT_DIR"
211 if [ ! -f "$PREBUILT_DIR/$TC-$SYS.tar.bz2" ] ; then
212 echo "ERROR: Missing prebuilt file $TC-$SYS.tar.bz2 in: $PREBUILT_DIR"
218 if [ ! -f "$PREBUILT_DIR/$ARCH-gdbserver.tar.bz2" ] ; then
219 echo "ERROR: Missing prebuilt file $ARCH-gdbserver.tar.bz2 in: $PREBUILT_DIR"
281 # $1: prebuilt name, relative to $PREBUILT_DIR
304 if [ -f "$PREBUILT_DIR/$PREBUILT" ] ; then
305 unpack_archive "$PREBUILT_DIR/$PREBUILT" "$DDIR"
307 if [ -f "$PREBUILT_DIR/$PREBUILT64" ] ; then
309 unpack_archive "$PREBUILT_DIR/$PREBUILT64" "$DDIR64"
313 echo "WARNING: Could not find $PREBUILT in $PREBUILT_DIR"
351 if [ "$PREBUILT_DIR" ]; then
353 unpack_archive "$PREBUILT_DIR/platforms.tar.bz2" "$REFERENCE" &&
355 unpack_archive "$PREBUILT_DIR/samples.tar.bz2" "$REFERENCE"