From: David Lechner Date: Tue, 23 May 2017 18:04:05 +0000 (-0500) Subject: configs/lego_ev3: use genimage to rename uImage file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13a4d5e580f67b9ebda548b818dd6fea226851a6;p=buildroot.git 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 --- 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 \