Lines Matching refs:NDK_DIR
51 NDK_DIR=
52 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK root path for the build."
82 # Handle NDK_DIR
83 if [ -z "$NDK_DIR" ] ; then
84 NDK_DIR=$ANDROID_NDK_ROOT
85 log "Auto-config: --ndk-dir=$NDK_DIR"
87 if [ ! -d "$NDK_DIR" ] ; then
88 echo "ERROR: NDK directory does not exists: $NDK_DIR"
118 local DSTDIR=$NDK_DIR/$GNUSTL_SUBDIR/$GCC_VERSION/libs/$ABI/$THUMB
121 prepare_target_build $ABI $PLATFORM $NDK_DIR
131 BINPREFIX=$NDK_DIR/$(get_toolchain_binprefix_for_arch $ARCH $GCC_VERSION $TAG)
149 SYSROOT=$NDK_DIR/$(get_default_platform_sysroot_for_arch $ARCH)
287 local DDIR="$NDK_DIR/$GNUSTL_SUBDIR/$GCC_VERSION"
370 pack_archive "$PACKAGE" "$NDK_DIR" "$GNUSTL_SUBDIR/$VERSION/include"
374 if [ ! -d "$NDK_DIR/$GNUSTL_SUBDIR/$VERSION/libs/$ABI" ]; then
398 if [ -f "$NDK_DIR/$THUMB_FILE" ] ; then
408 pack_archive "$PACKAGE" "$NDK_DIR" "$FILES"