1 #!/bin/sh 2 3 # We use this script to check whether or not the processor supports 4 # Power ISA 2.07. 5 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 LD_SHOW_AUXV=1 $DIR/true | grep arch_2_07 > /dev/null 2>&1 7 8 if [ "$?" -ne "0" ]; then 9 exit 1 10 else 11 exit 0 12 fi 13