Lines Matching refs:platform
42 # Return the list of platform supported from $1/platforms
55 TMPC=$TMPDIR/tmp/tests/tmp-platform.c
56 TMPO=$TMPDIR/tmp/tests/tmp-platform.o
57 TMPE=$TMPDIR/tmp/tests/tmp-platform$EXE
100 --platform=*)
141 echo "the platform files appropriately into a final release structure."
147 echo " --src-dir=<path> Source directory for development platform files [$SRCDIR]"
150 echo " --platform=<list> List of API levels [$PLATFORMS]"
188 # Remove the android- prefix of any platform name
222 for PLATFORM in $PLATFORMS; do
223 DIR="$SRCDIR/platforms/android-$PLATFORM"
226 echo "Please check your --platform=<list> option and try again."
233 log "Checking source platform architectures."
238 for PLATFORM in $PLATFORMS; do
240 DIR="$SRCDIR/platforms/android-$PLATFORM/arch-$ARCH"
465 # e.g. on x86 for PLATFORM < 9
493 # $1: platform number
522 log "Generating platform $API crtbrand assembly code: $CRTBRAND_S"
573 # $1: platform number
620 # Copy platform sysroot into your destination
623 # if $SRC/android-$PLATFORM/arch-$ARCH exists
624 # $SRC/android-$PLATFORM/include --> $DST/android-$PLATFORM/arch-$ARCH/usr/include
625 # $SRC/android-$PLATFORM/arch-$ARCH/include --> $DST/android-$PLATFORM/arch-$ARCH/usr/include
626 # $SRC/android-$PLATFORM/arch-$ARCH/lib --> $DST/android-$PLATFORM/arch-$ARCH/usr/lib
633 # Find first platform for this arch
638 for PLATFORM in $PLATFORMS; do
639 echo "## Generating platform: $PLATFORM"
640 PLATFORM_DST=platforms/android-$PLATFORM # Relative to $DSTDIR
643 # Skip over if there is no arch-specific file for this platform
644 # and no destination platform directory was created. This is needed
652 log "Populating \$DST/platforms/android-$PLATFORM/arch-$ARCH"
667 # files from previous platform directories into this one.
672 if [ "$OLD_PLATFORM" = "$PLATFORM" ]; then
684 # to remove stale old headers when createing platform = $FIRST_API64_LEVEL
685 if [ "$PLATFORM" = "$FIRST_API64_LEVEL" ]; then
702 generate_api_level "$PLATFORM" "$ARCH" "$DSTDIR"
741 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib "-m32"
742 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib64 "-m64"
743 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/libx32 "-mx32"
746 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib "-mabi=32 -mips32"
747 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/libr2 "-mabi=32 -mips32r2"
748 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/libr6 "-mabi=32 -mips32r6"
749 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib64r2 "-mabi=64 -mips64r2"
750 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib64 "-mabi=64 -mips64r6"
753 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib "-mabi=32 -mips32"
754 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/libr2 "-mabi=32 -mips32r2"
755 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/libr6 "-mabi=32 -mips32r6"
758 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/$LIBDIR
820 for PLATFORM in $PLATFORMS; do
821 PLATFORM_NAME="android-$PLATFORM"
835 ARCHIVE=platform-$PLATFORM.zip
838 fail_panic "Could not package platform-$PLATFORM"