Commit | Line | Data |
---|---|---|
1a295c62 AB |
1 | # Select an appropriate endinaness based on the value of target. When |
2 | # building for all targets we select little endian, which is what the | |
3 | # '*' pattern is for. | |
9a5f28ae AB |
4 | case ${target} in |
5 | arceb-*) | |
6c19b93b AM |
6 | ARC_ENDIAN="big" |
7 | ;; | |
1a295c62 | 8 | arc-* | * ) |
6c19b93b AM |
9 | ARC_ENDIAN="little" |
10 | ;; | |
9a5f28ae | 11 | esac |