]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
boot/uboot: allow to build multiple U-Boot images
authorPetr Kulhavy <brain@jikos.cz>
Fri, 2 Sep 2016 12:26:26 +0000 (14:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Sep 2016 17:24:12 +0000 (19:24 +0200)
commitfad58cefa4a392b52eafe46a773f8cbfb8aadb43
treed79b1bf7cba7b86187505d90461ab9bf6c43cb4b
parent373c24cd1bb98a8b826b92034f7cb39780719625
boot/uboot: allow to build multiple U-Boot images

Sometimes it is desired to build multiple U-boot images. E.g. one to
save into flash memory and one for serial load. So far this was not
possible.

This change allows to select any combination of the target formats. They
are all copied to the image folder.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
[Thomas:
 - Handle the BR2_TARGET_UBOOT_FORMAT_BIN, which wasn't handled, and
   therefore u-boot.bin was not copied when
   BR2_TARGET_UBOOT_FORMAT_BIN=y.
 - Rename UBOOT_BIN to UBOOT_BINS, since it can now contain multiple
   values.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk