aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot/uboot.mk
diff options
context:
space:
mode:
authorGravatar Dario Binacchi <dariobin@libero.it>2019-12-03 22:36:22 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-12-08 22:22:08 +0100
commitcde2f0ce6dad73f97d24b396dfc5c50e031795ad (patch)
treee25de8ca3a121a48d024b5de53891c52292d09ad /boot/uboot/uboot.mk
parentc3c0c4f0e85cf458f3c99ae28e25a3fd1e9de57c (diff)
downloadbuildroot-cde2f0ce6dad73f97d24b396dfc5c50e031795ad.tar.gz
buildroot-cde2f0ce6dad73f97d24b396dfc5c50e031795ad.tar.bz2
boot/uboot: add option to build u-boot.itb image
It allows you to add the u-boot.itb to the list of U-Boot images that can be created. Like the others, this one is also copied to the image folder. Signed-off-by: Dario Binacchi <dariobin@libero.it> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'boot/uboot/uboot.mk')
-rw-r--r--boot/uboot/uboot.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 5e0f614024..0ebda6588c 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -85,6 +85,11 @@ UBOOT_BINS += u-boot.img
UBOOT_MAKE_TARGET += u-boot.img
endif
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_ITB),y)
+UBOOT_BINS += u-boot.itb
+UBOOT_MAKE_TARGET += u-boot.itb
+endif
+
ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y)
UBOOT_BINS += u-boot.imx
UBOOT_MAKE_TARGET += u-boot.imx