u-boot: support custom u-boot.bin name
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Wed, 24 Jul 2013 09:50:14 +0000 (11:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 26 Jul 2013 19:18:23 +0000 (21:18 +0200)
commitab25903bd7d3f1aa58f96867304114cbd7a6fbad
tree05b077ba3efcb87cf5e7ab288383eb04144195cd
parent6bd2fe479fa8643234e76efdda900f90cb151888
u-boot: support custom u-boot.bin name

On some platforms, the standard U-Boot binary is not called u-boot.bin,
but u-boot<something>.bin. This is for example the case on the
Cavium-provided u-boot, where the output file is called
u-boot_<boardname>.bin.

This patch adds a 'custom format' choice in the existing u-boot binary
format selection, where this name can be put. In the Cavium example, this
option could be set to:
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-$(BR2_TARGET_UBOOT_BOARDNAME).bin"

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk