From: Marek Vasut <marex@denx.de>
To: Ruslan Bilovol <rbilovol@cisco.com>,
openembedded-core@lists.openembedded.org
Cc: xe-linux-external@cisco.com
Subject: Re: [PATCH v2] kernel-uimage: change target image to vmlinux
Date: Wed, 13 Apr 2016 23:56:23 +0200 [thread overview]
Message-ID: <570EC087.5050805@denx.de> (raw)
In-Reply-To: <1460571440-14500-1-git-send-email-rbilovol@cisco.com>
On 04/13/2016 08:17 PM, Ruslan Bilovol wrote:
> Commit e69525: "kernel: Build uImage only when really
> needed" hardcoded target kernel image to zImage for
> case if uImage is generated by OpenEmbedded buildsystem.
>
> However not all kernel architectures support zImage
> target, for example AArch64 doesn't, so building of
> kernel is failing on this step.
>
> So instead of building zImage target that may not
> exist for many architectures, build vmlinux target
> that exists for all architectures.
>
> Since kernel-uboot.bbclass uses vmlinux anyway for
> creating image, there is no side effect on this change.
>
> Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
To me, this looks sensible:
Reviewed-by: Marek Vasut <marex@denx.de>
If someone depends on this uImage bbclass generating also zImage,
there will be a failure and that should be fixed therein.
> ---
> meta/classes/kernel-uimage.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass
> index f73965b..de7ca38 100644
> --- a/meta/classes/kernel-uimage.bbclass
> +++ b/meta/classes/kernel-uimage.bbclass
> @@ -13,7 +13,7 @@ python __anonymous () {
> # KEEPUIMAGE == yes. Otherwise, we pack compressed vmlinux into
> # the uImage .
> if d.getVar("KEEPUIMAGE", True) != 'yes':
> - d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "zImage")
> + d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "vmlinux")
> }
>
> do_uboot_mkimage() {
>
--
Best regards,
Marek Vasut
prev parent reply other threads:[~2016-04-13 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-13 18:17 [PATCH v2] kernel-uimage: change target image to vmlinux Ruslan Bilovol
2016-04-13 21:56 ` Marek Vasut [this message]
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=570EC087.5050805@denx.de \
--to=marex@denx.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=rbilovol@cisco.com \
--cc=xe-linux-external@cisco.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