summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/usr/share/dpkg
diff options
context:
space:
mode:
Diffstat (limited to 'beagle/debian-rfs/usr/share/dpkg')
-rw-r--r--beagle/debian-rfs/usr/share/dpkg/archtable29
-rw-r--r--beagle/debian-rfs/usr/share/dpkg/cputable40
-rw-r--r--beagle/debian-rfs/usr/share/dpkg/ostable33
-rw-r--r--beagle/debian-rfs/usr/share/dpkg/triplettable22
4 files changed, 124 insertions, 0 deletions
diff --git a/beagle/debian-rfs/usr/share/dpkg/archtable b/beagle/debian-rfs/usr/share/dpkg/archtable
new file mode 100644
index 0000000..a50328b
--- /dev/null
+++ b/beagle/debian-rfs/usr/share/dpkg/archtable
@@ -0,0 +1,29 @@
+# This file contains the list of architecture names in Debian's ‘sid’
+# distribution.
+#
+# Architecture names are formed as a combination of the system name
+# (from ostable) and CPU name (from cputable) after mapping from
+# the Debian triplet (from triplettable). Support for new
+# architectures in dpkg is added in those files, architecture names
+# are only added to this file when added to the distribution.
+#
+# Column 1 is present for historical reasons only, and should be ignored.
+# Column 2 contains the Debian name for the architecture, which is returned
+# by ‘dpkg --print-architecture’.
+#
+# <ignore> <Debian name>
+i486-linux-gnu i386
+ia64-linux-gnu ia64
+alpha-linux-gnu alpha
+x86_64-linux-gnu amd64
+arm-linux-gnu arm
+arm-linux-gnueabi armel
+hppa-linux-gnu hppa
+mips-linux-gnu mips
+mipsel-linux-gnu mipsel
+powerpc-linux-gnu powerpc
+s390-linux-gnu s390
+sparc-linux-gnu sparc
+i486-gnu hurd-i386
+i486-kfreebsd-gnu kfreebsd-i386
+x86_64-kfreebsd-gnu kfreebsd-amd64
diff --git a/beagle/debian-rfs/usr/share/dpkg/cputable b/beagle/debian-rfs/usr/share/dpkg/cputable
new file mode 100644
index 0000000..8b6280b
--- /dev/null
+++ b/beagle/debian-rfs/usr/share/dpkg/cputable
@@ -0,0 +1,40 @@
+# This file contains the table of known CPU names.
+#
+# Architecture names are formed as a combination of the system name
+# (from ostable) and CPU name (from this table) after mapping from
+# the Debian triplet (from triplettable). A list of architecture
+# names in the Debian ‘sid’ distribution can be found in the archtable
+# file.
+#
+# Column 1 is the Debian name for the CPU, used to form the cpu part in
+# the Debian triplet.
+# Column 2 is the GNU name for the CPU, used to output build and host
+# targets in ‘dpkg-architecture’.
+# Column 3 is an extended regular expression used to match against the
+# CPU part of the output of the GNU config.guess script.
+# Column 4 is the size (in bits) of the integers/pointers
+# Column 5 is the endianness (byte ordering in numbers)
+#
+# <Debian name> <GNU name> <config.guess regex> <Bits> <Endianness>
+i386 i486 (i[3456]86|pentium) 32 little
+ia64 ia64 ia64 64 little
+alpha alpha alpha.* 64 little
+amd64 x86_64 x86_64 64 little
+armeb armeb arm.*b 32 big
+arm arm arm.* 32 little
+avr32 avr32 avr32 32 big
+hppa hppa hppa.* 32 big
+m32r m32r m32r 32 big
+m68k m68k m68k 32 big
+mips mips mips(eb)? 32 big
+mipsel mipsel mipsel 32 little
+powerpc powerpc (powerpc|ppc) 32 big
+ppc64 powerpc64 (powerpc|ppc)64 64 big
+s390 s390 s390 32 big
+s390x s390x s390x 64 big
+sh3 sh3 sh3 32 little
+sh3eb sh3eb sh3eb 32 big
+sh4 sh4 sh4 32 little
+sh4eb sh4eb sh4eb 32 big
+sparc sparc sparc 32 big
+sparc64 sparc64 sparc64 64 big
diff --git a/beagle/debian-rfs/usr/share/dpkg/ostable b/beagle/debian-rfs/usr/share/dpkg/ostable
new file mode 100644
index 0000000..17b7581
--- /dev/null
+++ b/beagle/debian-rfs/usr/share/dpkg/ostable
@@ -0,0 +1,33 @@
+# 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). A list of architecture
+# names in the Debian ‘sid’ distribution can be found in the archtable
+# file.
+#
+# 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 and host
+# targets 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
+gnueabi-linux linux-gnueabi linux[^-]*-gnueabi
+gnuspe-linux linux-gnuspe linux[^-]*-gnuspe
+gnulp-linux linux-gnulp linux[^-]*-gnulp
+gnu-linux linux-gnu linux[^-]*(-gnu.*)?
+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-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.*)?
diff --git a/beagle/debian-rfs/usr/share/dpkg/triplettable b/beagle/debian-rfs/usr/share/dpkg/triplettable
new file mode 100644
index 0000000..3e076e2
--- /dev/null
+++ b/beagle/debian-rfs/usr/share/dpkg/triplettable
@@ -0,0 +1,22 @@
+# Bidirectional mapping between a Debian triplet and a Debian arch.
+#
+# Supported variables: <cpu>
+#
+# <Debian triplet> <Debian arch>
+uclibceabi-linux-arm uclibc-linux-armel
+uclibc-linux-<cpu> uclibc-linux-<cpu>
+gnueabi-linux-arm armel
+gnuspe-linux-powerpc powerpcspe
+gnulp-linux-i386 lpia
+gnu-linux-<cpu> <cpu>
+gnu-kfreebsd-<cpu> kfreebsd-<cpu>
+gnu-knetbsd-<cpu> knetbsd-<cpu>
+gnu-kopensolaris-<cpu> kopensolaris-<cpu>
+gnu-hurd-<cpu> hurd-<cpu>
+bsd-freebsd-<cpu> freebsd-<cpu>
+bsd-openbsd-<cpu> openbsd-<cpu>
+bsd-netbsd-<cpu> netbsd-<cpu>
+bsd-darwin-<cpu> darwin-<cpu>
+sysv-solaris-<cpu> solaris-<cpu>
+uclibceabi-uclinux-arm uclinux-armel
+uclibc-uclinux-<cpu> uclinux-<cpu>