makefile: add multi_dtb_fit dep
authorNeal Frager <neal.frager@amd.com>
Wed, 21 Dec 2022 07:54:46 +0000 (07:54 +0000)
committerMichal Simek <michal.simek@amd.com>
Wed, 11 Jan 2023 14:18:08 +0000 (15:18 +0100)
commit537ca0bee6e6ffd83926521e03c90bbc42cf65e2
treec67a8131e958cc6ae0c3ac05f99fdff3482db322
parent66b39c1a8c7d56db35db0571b1d84518c948b5af
makefile: add multi_dtb_fit dep

With certain gcc compilers, the u-boot.itb is built immediately after dtb
generation.  If CONFIG_MULTI_DTB_FIT is used, it is possible that the
fit-dtb.blob is not finished in time.

This patch adds a necessary dependency to guarantee that the fit-dtb.blob
is built before attempting to build the u-boot.itb.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20221221075446.47141-1-neal.frager@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Makefile