Lines Matching refs:NDK_DIR
52 NDK_DIR=
53 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK root path for the build."
92 if [ -z "$NDK_DIR" ] ; then
93 NDK_DIR=$ANDROID_NDK_ROOT
94 log "Auto-config: --ndk-dir=$NDK_DIR"
96 if [ ! -d "$NDK_DIR" ] ; then
97 echo "ERROR: NDK directory does not exists: $NDK_DIR"
127 local DSTDIR=$NDK_DIR/$GNUSTL_SUBDIR/$GCC_VERSION/libs/$ABI/$THUMB
130 prepare_target_build $ABI $PLATFORM $NDK_DIR
140 BINPREFIX=$NDK_DIR/$(get_toolchain_binprefix_for_arch $ARCH $GCC_VERSION $TAG)
158 SYSROOT=$NDK_DIR/$(get_default_platform_sysroot_for_arch $ARCH)
318 local DDIR="$NDK_DIR/$GNUSTL_SUBDIR/$GCC_VERSION"
433 pack_archive "$PACKAGE" "$NDK_DIR" "$GNUSTL_SUBDIR/$VERSION/include"
437 if [ ! -d "$NDK_DIR/$GNUSTL_SUBDIR/$VERSION/libs/$ABI" ]; then
473 if [ -f "$NDK_DIR/$THUMB_FILE" ] ; then
483 pack_archive "$PACKAGE" "$NDK_DIR" "$FILES"