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

On 16.01.20 09:31, Q. Gylstorff wrote:
> 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":
> 

Maybe rather

if distro_arch in ["i386", "amd64"]:

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

  reply	other threads:[~2020-01-16  9:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16  8:31 Q. Gylstorff
2020-01-16  9:58 ` Jan Kiszka [this message]
2020-01-16 11:15   ` [PATCH v2] " Q. Gylstorff
2020-03-09 10:55     ` 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=0a0e75d3-4721-762a-bcac-a47fd571aa56@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=Quirin.Gylstorff@siemens.com \
    --cc=isar-users@googlegroups.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