]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Fix dependency for u-boot-with-dtb.bin
authorPali Rohár <pali@kernel.org>
Mon, 1 Aug 2022 15:42:19 +0000 (17:42 +0200)
committerMarek Behún <kabel@kernel.org>
Fri, 16 Sep 2022 15:39:39 +0000 (17:39 +0200)
Makefile uses binman to produce u-boot-with-dtb.bin target. As its input it
takes DTB file and u-boot binary without DTB, which is stored in file
u-boot-nodtb.bin. So fix target dependency.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Makefile

index 65aca6e3e79bd040c4a7be688e94bfc05b1e2c0f..0d3d80e45c258d087bb2d2fbfa7cefd59a9db013 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1604,7 +1604,7 @@ u-boot-with-nand-spl.sfp: u-boot-spl-padx4.sfp u-boot.img FORCE
 endif
 
 ifeq ($(CONFIG_MPC85xx)$(CONFIG_OF_SEPARATE),yy)
-u-boot-with-dtb.bin: u-boot.bin u-boot.dtb \
+u-boot-with-dtb.bin: u-boot-nodtb.bin u-boot.dtb \
        $(if $(CONFIG_MPC85XX_HAVE_RESET_VECTOR), u-boot-br.bin) FORCE
        $(call if_changed,binman)