[elbe-devel] [PATCH] xmldefault: Change triplets of ppc64le and i386

Olivier Dion dion at linutronix.de
Mon Jun 1 18:06:23 CEST 2020


According to <https://wiki.debian.org/Multiarch/Tuples>, the triplet
for LSB PPC64 is 'powerpc64le-linux-gnu'.

Note for i386 architecture:
----------------------------------------------------------------------
On IA-32, the GNU triplet varies according to the precise instruction
set being targeted: e.g., i486-linux-gnu, i586-linux-gnu
i686-linux-gnu. Such triplets will be inconsistent over time within a
single distribution as compiler defaults are changed, let alone
between distributions.
----------------------------------------------------------------------

This should fix SDK for these archs.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/xmldefaults.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
index b0a37019..ea2f20f8 100644
--- a/elbepack/xmldefaults.py
+++ b/elbepack/xmldefaults.py
@@ -139,7 +139,7 @@ ppc64el_defaults = {
     "console": "ttyS0,115200n1",
     "machine": "none",
     "nicmodel": "virtio",
-    "triplet": "ppc64le-linux-gnu",
+    "triplet": "powerpc64le-linux-gnu",
     "sdkgccpkg": "g++-powerpc64le-linux-gnu",
     "elfcode": "64-bit PowerPC or cisco 7500",
 }
@@ -163,7 +163,7 @@ i386_defaults = {
     "console": "ttyS0,115200n1",
     "machine": "pc",
     "nicmodel": "virtio",
-    "triplet": "i386-linux-gnu",
+    "triplet": "i686-linux-gnu",
     "sdkgccpkg": "g++-i686-linux-gnu",
 }
 
-- 
2.26.2




More information about the elbe-devel mailing list