summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2019-05-28 13:44:31 +0200
committerStefano Babic <sbabic@denx.de>2019-06-11 10:42:48 +0200
commit16c776d321aa847514f2134f890717f4de6a998c (patch)
treef216930aba38c50cb80cacc72bdbf7bffa38cf1a /Makefile
parent5ef237ad6faf0765985e2942c968f9834bc791ef (diff)
arm, imx, Makefile: fix u-boot-dtb.imx build in CONFIG_MULTI_DTB_FIT case
in case CONFIG_MULTI_DTB_FIT is set and u-boot-dtb.imx image is build, currently u-boot-dtb.bin is used for generating the u-boot-dtb.imx binary, which is wrong, as it contains only a dtb blob not the fit.blob Use instead the u-boot-fit-dtb.bin for generating u-boot-dtb.imx which contains the fit.blob. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8de3d4120a..7e5fd23e7c 100644
--- a/Makefile
+++ b/Makefile
@@ -1087,6 +1087,10 @@ endif
u-boot.bin: u-boot-fit-dtb.bin FORCE
$(call if_changed,copy)
+
+u-boot-dtb.bin: u-boot-nodtb.bin dts/dt.dtb FORCE
+ $(call if_changed,cat)
+
else ifeq ($(CONFIG_OF_SEPARATE),y)
u-boot-dtb.bin: u-boot-nodtb.bin dts/dt.dtb FORCE
$(call if_changed,cat)