public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] recipes-kernel/linux: Add i386 support
@ 2020-01-16  8:31 Q. Gylstorff
  2020-01-16  9:58 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Q. Gylstorff @ 2020-01-16  8:31 UTC (permalink / raw)
  To: isar-users; +Cc: Quirin Gylstorff, Jan Kiszka

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Select the Kernel arch x86 if DISTRO_ARCH is i386 to allow the
usage of a 32bit userland.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 meta/recipes-kernel/linux/linux-custom.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index d31da3b..31afca9 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -89,6 +89,8 @@ python() {
 
 def get_kernel_arch(d):
     distro_arch = d.getVar("DISTRO_ARCH")
+    if distro_arch == "i386":
+        kernel_arch = "x86"
     if distro_arch == "amd64":
         kernel_arch = "x86"
     elif distro_arch == "arm64":
-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-09 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16  8:31 [PATCH] recipes-kernel/linux: Add i386 support Q. Gylstorff
2020-01-16  9:58 ` Jan Kiszka
2020-01-16 11:15   ` [PATCH v2] " Q. Gylstorff
2020-03-09 10:55     ` Baurzhan Ismagulov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox