diff options
author | Lionel Flandrin <lionel@svkt.org> | 2017-02-13 14:59:33 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-05 22:25:49 +0100 |
commit | fff0732af075a2318766f30c1c84a6405325a24e (patch) | |
tree | d7a7cd03ce9b34fd40e67a2b68b70ae7dfd64c1d | |
parent | 4f863d77a666f976a1096c9c9f979047d9995f94 (diff) | |
download | buildroot-fff0732af075a2318766f30c1c84a6405325a24e.tar.gz buildroot-fff0732af075a2318766f30c1c84a6405325a24e.zip |
u-boot: add an option to generate u-boot-dtb.bin
Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | boot/uboot/Config.in | 3 | ||||
-rw-r--r-- | boot/uboot/uboot.mk | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 4e629c0ef4..1aa2cb7b43 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -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" diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 6b9d544546..ac3b42e42d 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -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 |