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