summaryrefslogtreecommitdiff
path: root/data/ostable
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-10 23:52:03 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 04:43:28 +0100
commit97309bef8b664c2d58cb689a3e82848021ae9bad (patch)
tree54289445f7714033a595343d24c59517ce8253a1 /data/ostable
parent7fd94771c8340fecef49d90577de4d49adcfe323 (diff)
downloaddpkg-97309bef8b664c2d58cb689a3e82848021ae9bad.tar.gz
data: Move architecture tables to a new data directory
Diffstat (limited to 'data/ostable')
-rw-r--r--data/ostable39
1 files changed, 39 insertions, 0 deletions
diff --git a/data/ostable b/data/ostable
new file mode 100644
index 000000000..a9b24c32c
--- /dev/null
+++ b/data/ostable
@@ -0,0 +1,39 @@
+# This file contains the table of known operating system names.
+#
+# Architecture names are formed as a combination of the system name
+# (from this table) and CPU name (from cputable) after mapping from
+# the Debian triplet (from triplettable).
+#
+# - Column 1 is the Debian name for the system, used to form the system part
+# in the Debian triplet.
+# - Column 2 is the GNU name for the system, used to output build, host and
+# target variables in ‘dpkg-architecture’.
+# - Column 3 is an extended regular expression used to match against the
+# system part of the output of the GNU config.guess script.
+#
+# <Debian name> <GNU name> <config.guess regex>
+uclibceabi-linux linux-uclibceabi linux[^-]*-uclibceabi
+uclibc-linux linux-uclibc linux[^-]*-uclibc
+musleabihf-linux linux-musleabihf linux[^-]*-musleabihf
+musl-linux linux-musl linux[^-]*-musl
+gnueabihf-linux linux-gnueabihf linux[^-]*-gnueabihf
+gnueabi-linux linux-gnueabi linux[^-]*-gnueabi
+gnuabin32-linux linux-gnuabin32 linux[^-]*-gnuabin32
+gnuabi64-linux linux-gnuabi64 linux[^-]*-gnuabi64
+gnuspe-linux linux-gnuspe linux[^-]*-gnuspe
+gnux32-linux linux-gnux32 linux[^-]*-gnux32
+gnu-linux linux-gnu linux[^-]*(-gnu.*)?
+gnueabihf-kfreebsd kfreebsd-gnueabihf kfreebsd[^-]*-gnueabihf
+gnu-kfreebsd kfreebsd-gnu kfreebsd[^-]*(-gnu.*)?
+gnu-knetbsd knetbsd-gnu knetbsd[^-]*(-gnu.*)?
+gnu-kopensolaris kopensolaris-gnu kopensolaris[^-]*(-gnu.*)?
+gnu-hurd gnu gnu[^-]*
+bsd-darwin darwin darwin[^-]*
+bsd-dragonflybsd dragonflybsd dragonfly[^-]*
+bsd-freebsd freebsd freebsd[^-]*
+bsd-netbsd netbsd netbsd[^-]*
+bsd-openbsd openbsd openbsd[^-]*
+sysv-solaris solaris solaris[^-]*
+uclibceabi-uclinux uclinux-uclibceabi uclinux[^-]*-uclibceabi
+uclibc-uclinux uclinux-uclibc uclinux[^-]*(-uclibc.*)?
+tos-mint mint mint[^-]*