[elbe-devel] [PATCH 2/2] xmldefaults: add missing elfcode entries for amd64 and i386

Torben Hohn torben.hohn at linutronix.de
Thu Jul 16 10:48:46 CEST 2020


Sdk generation needs the elfcodes.
amd64 and i386 have not been considered as sdk targets before.
But there should be no reason, why this should not work.

Add the elfcodes, obtained by file.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/xmldefaults.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
index b5156e348..ad6f15fe2 100644
--- a/elbepack/xmldefaults.py
+++ b/elbepack/xmldefaults.py
@@ -153,6 +153,7 @@ amd64_defaults = {
     "nicmodel": "virtio",
     "triplet": "x86_64-linux-gnu",
     "sdkgccpkg": "g++",
+    "elfcode": "x86-64",
 }
 
 i386_defaults = {
@@ -164,6 +165,7 @@ i386_defaults = {
     "nicmodel": "virtio",
     "triplet": "i686-linux-gnu",
     "sdkgccpkg": "g++-i686-linux-gnu",
+    "elfcode": "Intel 80386",
 }
 
 archindep_defaults = {
-- 
2.20.1



More information about the elbe-devel mailing list