Home | History | Annotate | Download | only in tools

Lines Matching refs:arch

37 ARCH=
38 register_option "--arch=<name>" do_arch "Specify target architecture" "arm"
39 do_arch () { ARCH=$1; }
72 # Check ARCH
73 if [ -z "$ARCH" ]; then
76 ARCH=arm
79 ARCH=x86
82 ARCH=mips
85 ARCH=arm
88 ARCH_INC=$ARCH
89 log "Auto-config: --arch=$ARCH"
91 ARCH_INC=$ARCH
92 case $ARCH in
94 ARCH=arm
97 ARCH=x86
100 ARCH=mips
103 ARCH=arm
107 test "$ARCH_INC" != "$ARCH" && ARCH_INC=$(find_ndk_unknown_archs)
108 test -z "$ARCH_INC" && ARCH_INC="$ARCH"
112 TOOLCHAIN_NAME=$(get_default_toolchain_name_for_arch $ARCH)
116 test "$ARCH_INC" != "$ARCH" && STL=stlport && TARGET_ABI=$(convert_arch_to_abi $ARCH | tr ',' '\n' | tail -n 1)
117 test "$ARCH_INC" != "$ARCH" -a -z "$LLVM_VERSION" && LLVM_VERSION=$DEFAULT_LLVM_VERSION
122 TOOLCHAIN_NAME=$(get_default_toolchain_name_for_arch $ARCH)
130 case $ARCH in
163 (cd $NDK_DIR/platforms && ls -d */arch-$ARCH_INC >/dev/null 2>&1 )
167 echo "platform or arch-dependent toolchain name (respectively)!"
172 SRC_SYSROOT_INC="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH_INC/usr/include"
173 SRC_SYSROOT_LIB="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH/usr/lib"
175 echo "No platform files ($PLATFORM) for this architecture: $ARCH"
249 if [ "$ARCH_INC" = "$ARCH" ]; then
303 case "$ARCH" in
335 if [ "$ARCH_INC" != "$ARCH" ]; then
400 if [ "$ARCH_INC" != "$ARCH" ]; then
425 # Copy common STL headers (i.e. the non-arch-specific ones)
452 if [ "$ARCH_INC" != "$ARCH" ]; then
473 case $ARCH in
481 copy_stl_libs "$ARCH" ""
484 dump "ERROR: Unsupported NDK architecture: $ARCH"