aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot/uboot.mk
diff options
context:
space:
mode:
authorGravatar Shlomi Vaknin <shlomi.39sd@gmail.com>2020-10-07 17:49:42 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-10-13 22:41:41 +0200
commit5d277d20cc4e98d5571beb1d62e92c8c229a80e7 (patch)
treef5dc1dac46a4c9cfaf2c1f2916ea34f8f190b181 /boot/uboot/uboot.mk
parent8cd4aa8fde83841219c5eb807ec162b3b0f6f5cf (diff)
downloadbuildroot-5d277d20cc4e98d5571beb1d62e92c8c229a80e7.tar.gz
buildroot-5d277d20cc4e98d5571beb1d62e92c8c229a80e7.tar.bz2
boot/uboot: add stm32 binary format
Add `.stm32` binary format that U-Boot generates for the trusted configuration of STM32MP platforms. Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com> 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 f27abbd5ba..72d5df412d 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -121,6 +121,11 @@ UBOOT_MAKE_TARGET += u-boot.sb
UBOOT_DEPENDENCIES += host-elftosb host-openssl
endif
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_STM32),y)
+UBOOT_BINS += u-boot.stm32
+UBOOT_MAKE_TARGET += u-boot.stm32
+endif
+
ifeq ($(BR2_TARGET_UBOOT_FORMAT_CUSTOM),y)
UBOOT_BINS += $(call qstrip,$(BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME))
endif