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>
image boot.vfat {
vfat {
- files = {
- "uImage"
+ file uImage {
+ image = "uImage.da850-lego-ev3"
}
}
size = 16M
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 \