#!/bin/bash ndk=$1 arch=$2 cpu_family=$3 cpu=$4 cross_file="/cross_file-$arch.txt" # armv7 has the toolchain split between two names. arch2=${5:-$2} # Note that we disable C++ exceptions, because Mesa doesn't use exceptions, # and allowing it in code generation means we get unwind symbols that break # the libEGL and driver symbol tests. cat >$cross_file <