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