Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Angelo Dureghello <angelo@sysam.it>
To: openembedded-core@lists.openembedded.org
Cc: marex@denx.de, Angelo Dureghello <angelo@sysam.it>
Subject: [PATCH] kernel-uboot.bbclass: fix image format for root-located vmlinux
Date: Wed,  3 Oct 2018 20:13:06 +0200	[thread overview]
Message-ID: <20181003181306.1114-1-angelo@sysam.it> (raw)

In case vmlinux is located in the Linux source root, it must still
be considered as _not_ compressed.

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
---
 meta/classes/kernel-uboot.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 2364053f31..dd5f8a7b65 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -15,8 +15,8 @@ uboot_prep_kimage() {
 		linux_comp="none"
 	else
 		vmlinux_path="vmlinux"
-		linux_suffix=".gz"
-		linux_comp="gzip"
+		linux_suffix=""
+		linux_comp="none"
 	fi
 
 	[ -n "${vmlinux_path}" ] && ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
-- 
2.11.0



                 reply	other threads:[~2018-10-03 18:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20181003181306.1114-1-angelo@sysam.it \
    --to=angelo@sysam.it \
    --cc=marex@denx.de \
    --cc=openembedded-core@lists.openembedded.org \
    /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