aboutsummaryrefslogtreecommitdiff
path: root/board/lego
diff options
context:
space:
mode:
authorGravatar David Lechner <david@lechnology.com>2017-05-23 13:04:05 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-31 22:58:25 +0200
commit13a4d5e580f67b9ebda548b818dd6fea226851a6 (patch)
tree69e4f4e7741386befc882afb65e6f623f91e7a2a /board/lego
parentfb47cdbee39ab54959b52caa3ba17a6007464a23 (diff)
downloadbuildroot-13a4d5e580f67b9ebda548b818dd6fea226851a6.tar.gz
buildroot-13a4d5e580f67b9ebda548b818dd6fea226851a6.tar.bz2
configs/lego_ev3: use genimage to rename uImage file
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>
Diffstat (limited to 'board/lego')
-rw-r--r--board/lego/ev3/genimage.cfg4
-rwxr-xr-xboard/lego/ev3/post-image.sh2
2 files changed, 2 insertions, 4 deletions
diff --git a/board/lego/ev3/genimage.cfg b/board/lego/ev3/genimage.cfg
index 35682953aa..0ec580ca13 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 553d27ab04..81626dc371 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 \