Re: Freestanding arch

Bastien Roucariès <[email protected]>
Newsgroups gmane.linux.debian.apt.devel,gmane.linux.debian.devel.general,gmane.linux.debian.devel.dpkg.general
Message-ID <3464202.FnV7SJ3yrF@portable-bastien>
Le dimanche 24 novembre 2024, 12:06:26 UTC Bastien Roucariès a écrit :
Hi

This the patch I plan to debian arch

Could you cross check then I will add arch to config.guess
> Hi,
> 
> I plan to implement freestanding architecture specification.
> Following Toulouse debian mini debconf and javascript presentation it will be really helpful as a first step
> 
> https://wiki.debian.org/Teams/Dpkg/Spec/FreestandingArches
> 
> First likley to be implemented will be UEFI arch.
> 
> Any pointer for dpkg code to modify/test will be helpful.
> 
> for adding uefi triplet (https://wiki.debian.org/Teams/Dpkg/FAQ#Q._Can_we_add_support_for_new_dpkg_architectures.3F)
> - UEFI was added to config
> - binutils status and gcc is for me unknown. Help welcome here (dokko, skitt ?)
> 
>  rouca
0001-Add-data-for-freestanding-arches.patch (text/x-patch, 2.9 KB)
>From 6387d92bc55eabd4674c968be49885be73dbfa33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20Roucari=C3=A8s?= <[email protected]>
Date: Sun, 24 Nov 2024 16:06:41 +0000
Subject: [PATCH] Add data for freestanding arches

---
 data/ostable    |  7 +++++++
 data/tupletable | 13 +++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/data/ostable b/data/ostable
index 64f424490..260366088 100644
--- a/data/ostable
+++ b/data/ostable
@@ -21,12 +21,19 @@ base-uclibc-linux	linux-uclibc		linux[^-]*-uclibc
 eabihf-musl-linux	linux-musleabihf	linux[^-]*-musleabihf
 base-musl-linux		linux-musl		linux[^-]*-musl
 eabihf-gnu-linux	linux-gnueabihf		linux[^-]*-gnueabihf
+eabihf-unknown-none	unknown-none-gnueabihf	unknown-none-gnueabihf
 eabi-gnu-linux		linux-gnueabi		linux[^-]*-gnueabi
+eabi-unknown-none	unknown-none-eabi	unknown-none-eabi
 abin32-gnu-linux	linux-gnuabin32		linux[^-]*-gnuabin32
+abin32-unknown-none	unknown-none-abin32	unknown-none-gnuabin32
 abi64-gnu-linux		linux-gnuabi64		linux[^-]*-gnuabi64
+abi64-unknown-none	unknown-none-abi64	unknown-none-abi64
 spe-gnu-linux		linux-gnuspe		linux[^-]*-gnuspe
+spe-unknown-none	unknown-none-gnuspe	unknown-none-gnuspe
 x32-gnu-linux		linux-gnux32		linux[^-]*-gnux32
+x32-unknown-none	unknown-none-x32	unknown-none-x32
 base-gnu-linux		linux-gnu		linux[^-]*(-gnu.*)?
+base-unknown-none	unknown-none		unknown-none
 eabihf-gnu-kfreebsd	kfreebsd-gnueabihf	kfreebsd[^-]*-gnueabihf
 base-gnu-kfreebsd	kfreebsd-gnu		kfreebsd[^-]*(-gnu.*)?
 base-gnu-kopensolaris	kopensolaris-gnu	kopensolaris[^-]*(-gnu.*)?
diff --git a/data/tupletable b/data/tupletable
index ae9f2ddb4..648d2369e 100644
--- a/data/tupletable
+++ b/data/tupletable
@@ -26,18 +26,31 @@ base-uclibc-linux-<cpu>		uclibc-linux-<cpu>
 eabihf-musl-linux-arm		musl-linux-armhf
 base-musl-linux-<cpu>		musl-linux-<cpu>
 eabihf-gnu-linux-arm		armhf
+eabihf-unknown-none-arm		none-armhf
 eabi-gnu-linux-arm		armel
+eabi-unknown-none-arm		none-armel
 abin32-gnu-linux-mips64r6el	mipsn32r6el
+abin32-unknown-none-mips64r6el  none-mipsn32r6el
 abin32-gnu-linux-mips64r6	mipsn32r6
+abin32-unknown-none-mips64r6	none-mipsn32r6
 abin32-gnu-linux-mips64el	mipsn32el
+abin32-unknown-none-mips64el	none-mipsn32el
 abin32-gnu-linux-mips64		mipsn32
+abin32-unknown-none-mips64	none-mipsn32
 abi64-gnu-linux-mips64r6el	mips64r6el
+abi64-unknown-none-mips64r6el	none-mips64r6el
 abi64-gnu-linux-mips64r6	mips64r6
+abi64-unknown-none-mips64r6	none-mips64r6
 abi64-gnu-linux-mips64el	mips64el
+abi64-unknown-none-mips64el	mips64el
 abi64-gnu-linux-mips64		mips64
+abi64-unknown-none-mips64	none-mips64
 spe-gnu-linux-powerpc		powerpcspe
+spe-unknown-none-powerpc	none-powerpcspe
 x32-gnu-linux-amd64		x32
+x32-unknown-none-amd64		none-x32
 base-gnu-linux-<cpu>		<cpu>
+base-unknown-none-<cpu>		none-<cpu>
 base-gnu-kfreebsd-amd64		kfreebsd-amd64
 base-gnu-kfreebsd-i386		kfreebsd-i386
 base-gnu-kopensolaris-amd64	kopensolaris-amd64
-- 
2.45.2
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmdDT6oACgkQADoaLapB
CF8XAA/9FzL8zI9HJteKaovF4Ea1R9TlfgvQLqmSDhC0+dopEi4Rj0AZQVZRCQJF
48zWfD5LUj3Z2rZm3LX1P2irOifVaiysLcb4LVuwrWNKhBJ9c+Os3eSwthvoG6a/
7HZw6GhSRBCfn/DfR81smBoBGMDl7SeJ8SwsE6D4U8O1NhhFDUtUoGo/YJLpJptL
ufkkYmzVqvgzStDkW75I6sdLcZQcOhcIZXVCi3UJdL8v2cx2tuPY4C1012DASm02
PjWRRqLxbne8v/kwihswQ2i93w70mOC6ry+AzEZrsCjM9O0SZ6RgAITTgwQZdd88
ZTRIT6s3ZJlcga6JTuXFJ4EBbz248rnlVsNEneZcagOAa+1a8kClt098Wfq3MPay
7cS9bHYBrkCgWcUiCcFhvT1Dk/PwH/WOmZ1yY/Ix4lETZCyRmb5IWKyeL8YLw5mG
xb4QMoS7s3IwCA24Uc7Ax1/MRbCm1eCa98slcbRlPV4g350vqnhVhcSJPL1Ice03
tULfwgF2U6n5pj1ZWNNwuf2exMrcRkxE2sRLwB/XuxHswkpTTpZpXuBJzzf786RH
eUJs/wD70HPZZLsnetBRdckFWeySuEp2vnpd+qfL9MAjVDJ6t2cejU1ESVvHNWJS
lH3i+50CvkZOJqEh3jSFUJ8e6M4LzE7jwFH4bPSJIiy+OV2jiNQ=
=PVXB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.