Lines Matching refs:ABI
109 # $1: ABI name
112 # $4: Destination directory (optional, will default to $GNUSTL_SUBDIR/lib/$ABI)
116 local ABI=$1
122 prepare_target_build $ABI $PLATFORM $NDK_DIR
126 BUILDDIR=$BUILDDIR/$LIBTYPE-$ABI
130 DSTDIR=$NDK_DIR/$GNUSTL_SUBDIR/libs/$ABI
134 ARCH=$(convert_abi_to_arch $ABI)
176 if [ "$ABI" = "armeabi-v7a" ]; then
177 CXXFLAGS=$CXXFLAGS" -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16"
181 if [ "$ABI" = "mips" ]; then
196 PROJECT="gnustl_$LIBTYPE $ABI"
220 fail_panic "Could not create $ABI prebuilts for GNU libsupc++/libstdc++"
226 # $1: ABI
230 local ABI="$1"
232 local ARCH=$(convert_abi_to_arch $ABI)
247 rm -rf "$DIR/libs/$ABI" &&
248 mkdir -p "$DDIR/libs/$ABI/include"
250 # Copy the ABI-specific headers
251 copy_directory "$SDIR/include/c++/$VERSION/$PREFIX/bits" "$DDIR/libs/$ABI/include/bits"
253 # Copy the ABI-specific libraries
255 copy_file_list "$SDIR/lib" "$DDIR/libs/$ABI" libsupc++.a libgnustl_shared.so
257 cp "$SDIR/lib/libgnustl_shared.a" "$DDIR/libs/$ABI/libgnustl_static.a"
262 for ABI in $ABIS; do
263 build_gnustl_for_abi $ABI "$BUILD_DIR" static
264 build_gnustl_for_abi $ABI "$BUILD_DIR" shared
265 copy_gnustl_libs $ABI "$BUILD_DIR"
275 # Then, one package per ABI for libraries
276 for ABI in $ABIS; do
279 FILES="$FILES $GNUSTL_SUBDIR/libs/$ABI/$LIB"
281 PACKAGE="$PACKAGE_DIR/gnu-libstdc++-libs-$ABI.tar.bz2"
284 fail_panic "Could not package $ABI STLport binaries!"