All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] configs/lego_ev3: use genimage to rename uImage file
Date: Wed, 31 May 2017 22:58:25 +0200	[thread overview]
Message-ID: <20170601202901.2F24582970@busybox.osuosl.org> (raw)

commit: https://git.buildroot.net/buildroot/commit/?id=13a4d5e580f67b9ebda548b818dd6fea226851a6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This uses a genimage feature to rename the uImage file instead
of manually creating a symlink in the post-image script.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 board/lego/ev3/genimage.cfg  | 4 ++--
 board/lego/ev3/post-image.sh | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/board/lego/ev3/genimage.cfg b/board/lego/ev3/genimage.cfg
index 3568295..0ec580c 100644
--- a/board/lego/ev3/genimage.cfg
+++ b/board/lego/ev3/genimage.cfg
@@ -34,8 +34,8 @@ image flash.bin {
 
 image boot.vfat {
 	vfat {
-		files = {
-			"uImage"
+		file uImage {
+			image = "uImage.da850-lego-ev3"
 		}
 	}
 	size = 16M
diff --git a/board/lego/ev3/post-image.sh b/board/lego/ev3/post-image.sh
index 553d27a..81626dc 100755
--- a/board/lego/ev3/post-image.sh
+++ b/board/lego/ev3/post-image.sh
@@ -4,8 +4,6 @@ BOARD_DIR="$(dirname $0)"
 GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
 
-ln -sf "uImage.da850-lego-ev3" "${BINARIES_DIR}/uImage"
-
 rm -rf "${GENIMAGE_TMP}"
 
 genimage \

                 reply	other threads:[~2017-05-31 20:58 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=20170601202901.2F24582970@busybox.osuosl.org \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.