Home | History | Annotate | Line # | Download | only in emulparams
arc-endianness.sh revision 1.1
      1  1.1  christos # Select an appropriate endinaness based on the value of target.  When
      2  1.1  christos # building for all targets we select little endian, which is what the
      3  1.1  christos # '*' pattern is for.
      4  1.1  christos case ${target} in
      5  1.1  christos     arceb-*)
      6  1.1  christos         ARC_ENDIAN="big"
      7  1.1  christos         ;;
      8  1.1  christos     arc-* | * )
      9  1.1  christos         ARC_ENDIAN="little"
     10  1.1  christos         ;;
     11  1.1  christos esac
     12