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:
parent
fb47cdbee3
commit
13a4d5e580
@ -34,8 +34,8 @@ image flash.bin {
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage"
|
||||
file uImage {
|
||||
image = "uImage.da850-lego-ev3"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user