public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Q. Gylstorff" <Quirin.Gylstorff@siemens.com>
To: isar-users@googlegroups.com
Cc: Quirin Gylstorff <quirin.gylstorff@siemens.com>,
	Jan Kiszka <jan.kiszka@siemens.com>
Subject: [PATCH v2] recipes-kernel/linux: Add i386 support
Date: Thu, 16 Jan 2020 12:15:06 +0100	[thread overview]
Message-ID: <20200116111506.11307-1-Quirin.Gylstorff@siemens.com> (raw)
In-Reply-To: <0a0e75d3-4721-762a-bcac-a47fd571aa56@siemens.com>

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, 1 insertion(+), 1 deletion(-)

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


  reply	other threads:[~2020-01-16 11:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16  8:31 [PATCH] " Q. Gylstorff
2020-01-16  9:58 ` Jan Kiszka
2020-01-16 11:15   ` Q. Gylstorff [this message]
2020-03-09 10:55     ` [PATCH v2] " Baurzhan Ismagulov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200116111506.11307-1-Quirin.Gylstorff@siemens.com \
    --to=quirin.gylstorff@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox