3 # Bidirectional mapping between a Debian arch tuple and a Debian arch name.
5 # Debian arch tuple names are formed as a combination of the Debian system
6 # name (from the ostable) and the Debian CPU name (from the cputable) after
7 # applying the variable substitutions. Debian arch names are the result of
8 # historical naming conventions in Debian, where the predominant system
9 # architectures have many of their parts in implicit form, by only exposing
10 # the CPU with the ABI bolted on, where less common architectures have their
11 # OS part spelled out, and where even less common ones, have their libc
12 # spelled out. This table maps between the ideal architecture tuple, with
13 # the current messy reality.
15 # - Column 1 is the Debian arch tuple name, as the normalized form of the
16 # architecture names, used as the internal representation.
17 # - Column 2 is the Debian arch name, as the abbreviated form of the
18 # architecture names, used as the public interface.
20 # Supported variables: <cpu>
22 # <Debian arch tuple> <Debian arch name>
23 eabi-uclibc-linux-arm uclibc-linux-armel
24 base-uclibc-linux-<cpu> uclibc-linux-<cpu>
25 eabihf-musl-linux-arm musl-linux-armhf
26 base-musl-linux-<cpu> musl-linux-<cpu>
27 ilp32-gnu-linux-arm64 arm64ilp32
28 eabihf-gnu-linux-arm armhf
29 eabi-gnu-linux-arm armel
30 abin32-gnu-linux-mips64r6el mipsn32r6el
31 abin32-gnu-linux-mips64r6 mipsn32r6
32 abin32-gnu-linux-mips64el mipsn32el
33 abin32-gnu-linux-mips64 mipsn32
34 abi64-gnu-linux-mips64r6el mips64r6el
35 abi64-gnu-linux-mips64r6 mips64r6
36 abi64-gnu-linux-mips64el mips64el
37 abi64-gnu-linux-mips64 mips64
38 spe-gnu-linux-powerpc powerpcspe
39 x32-gnu-linux-amd64 x32
40 base-gnu-linux-<cpu> <cpu>
41 eabihf-gnu-kfreebsd-arm kfreebsd-armhf
42 base-gnu-kfreebsd-<cpu> kfreebsd-<cpu>
43 base-gnu-knetbsd-<cpu> knetbsd-<cpu>
44 base-gnu-kopensolaris-<cpu> kopensolaris-<cpu>
45 base-gnu-hurd-<cpu> hurd-<cpu>
46 base-bsd-dragonflybsd-<cpu> dragonflybsd-<cpu>
47 base-bsd-freebsd-<cpu> freebsd-<cpu>
48 base-bsd-openbsd-<cpu> openbsd-<cpu>
49 base-bsd-netbsd-<cpu> netbsd-<cpu>
50 base-bsd-darwin-<cpu> darwin-<cpu>
51 base-sysv-aix-<cpu> aix-<cpu>
52 base-sysv-solaris-<cpu> solaris-<cpu>
53 eabi-uclibc-uclinux-arm uclinux-armel
54 base-uclibc-uclinux-<cpu> uclinux-<cpu>
55 base-tos-mint-m68k mint-m68k