mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-10 03:54:48 +00:00
12 lines
290 B
Bash
12 lines
290 B
Bash
|
# Select an appropriate endinaness based on the value of target. When
|
||
|
# building for all targets we select little endian, which is what the
|
||
|
# '*' pattern is for.
|
||
|
case ${target} in
|
||
|
arceb-*)
|
||
|
ARC_ENDIAN="big"
|
||
|
;;
|
||
|
arc-* | * )
|
||
|
ARC_ENDIAN="little"
|
||
|
;;
|
||
|
esac
|