]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
u-boot: add an option to generate u-boot-dtb.bin
authorLionel Flandrin <lionel@svkt.org>
Mon, 13 Feb 2017 13:59:33 +0000 (14:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Mar 2017 21:25:49 +0000 (22:25 +0100)
Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk

index 4e629c0ef40da5f6c7fe6fd64a9a10fec6b7ab66..1aa2cb7b43f0a4187d283ac293e2f5a28f86e478 100644 (file)
@@ -159,6 +159,9 @@ config BR2_TARGET_UBOOT_FORMAT_BIN
        bool "u-boot.bin"
        default y
 
+config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
+       bool "u-boot-dtb.bin"
+
 config BR2_TARGET_UBOOT_FORMAT_DTB_IMG
        bool "u-boot-dtb.img"
 
index 6b9d5445462219bb99632d7c8dfcf3cfdc7f8e22..ac3b42e42ddaca32646eb471a23bcd2d5ed10828 100644 (file)
@@ -74,6 +74,11 @@ UBOOT_BINS += u-boot-dtb.img
 UBOOT_MAKE_TARGET += u-boot-dtb.img
 endif
 
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_BIN),y)
+UBOOT_BINS += u-boot-dtb.bin
+UBOOT_MAKE_TARGET += u-boot-dtb.bin
+endif
+
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y)
 UBOOT_BINS += u-boot.img
 UBOOT_MAKE_TARGET += u-boot.img