From 13a4d5e580f67b9ebda548b818dd6fea226851a6 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Tue, 23 May 2017 13:04:05 -0500 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- 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 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 \