BuildSetup: Add better arm host detection

* rather unlikely... unless you're insane like me
* BeagleBoard is armv7l-, so lets look for armv*
  (I don't want to do arm* as it is less precise)
This commit is contained in:
Alexander von Gluck IV 2014-01-01 22:20:12 -07:00
parent 482f0f771a
commit 5e97cd45cf
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ switch $(HOST_GCC_MACHINE) {
# the following are rather unlikely as hosts ...
case arm-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
case armv* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
case m68k-* : HAIKU_HOST_IS_BIG_ENDIAN = 1 ;
case mipsel-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
case * : Exit "Unsupported gcc host machine:" $(HOST_GCC_MACHINE) ;