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>
This commit is contained in:
David Lechner 2017-05-23 13:04:05 -05:00 committed by Thomas Petazzoni
parent fb47cdbee3
commit 13a4d5e580
2 changed files with 2 additions and 4 deletions

View File

@ -34,8 +34,8 @@ image flash.bin {
image boot.vfat { image boot.vfat {
vfat { vfat {
files = { file uImage {
"uImage" image = "uImage.da850-lego-ev3"
} }
} }
size = 16M size = 16M

View File

@ -4,8 +4,6 @@ BOARD_DIR="$(dirname $0)"
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
ln -sf "uImage.da850-lego-ev3" "${BINARIES_DIR}/uImage"
rm -rf "${GENIMAGE_TMP}" rm -rf "${GENIMAGE_TMP}"
genimage \ genimage \