Sign in
fuchsia
/
third_party
/
binutils-gdb
/
c8dbc58e0a9be82937b5875fe53412e260a6cc42
/
.
/
ld
/
emulparams
/
arc-endianness.sh
blob: 7a66deede30352565086b075e37b4b0637a4b5d0 [
file
] [
log
] [
blame
]
# 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