* updated libkcddb (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / architecture / arm / archtest.sh
blob70e75f7cf2630fd8c1dd662893368a9115264ec0
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: architecture/arm/archtest.sh
5 # Copyright (C) 2007 - 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 case "$SDECFG_ARM_ENDIANESS" in
16 eb)
17 arch_bigendian=yes
18 arch_machine=armeb ;;
21 arch_bigendian=no
22 arch_machine=arm ;;
23 esac
25 [ "$arch_bigendian" = no ] &&
26 case "$SDECFG_ARM_OPT" in
27 arm7*)
28 arch_machine=${arch_machine}v4 ;;
29 arm[89]*|arm10*)
30 arch_machine=${arch_machine}v5 ;;
31 arm11*)
32 arch_machine=${arch_machine}v6 ;;
34 arch_machine=${arch_machine}v7 ;;
35 esac
37 arch_target="${arch_machine}-t2-linux-${SDECFG_ARM_ABI}"