From: Jean-Jacques Hiblot Date: Tue, 22 Oct 2019 14:39:16 +0000 (+0200) Subject: Makefile.lib: include /__symbols__ in dtb if SPL_LOAD_FIT_APPLY_OVERLAY is enabled X-Git-Tag: v2020.10~428^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47818e23a2281bbbf64df5936f67a6f98bbd6563;p=platform%2Fkernel%2Fu-boot.git Makefile.lib: include /__symbols__ in dtb if SPL_LOAD_FIT_APPLY_OVERLAY is enabled In order to apply an overlay to a DTB. The DTB must have been generated with the option '-@'. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Simon Glass --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index c10cd83..4ea898a 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -292,6 +292,10 @@ cmd_dt_S_dtb= \ $(obj)/%.dtb.S: $(obj)/%.dtb $(call cmd,dt_S_dtb) +ifeq ($(CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY),y) +DTC_FLAGS += -@ +endif + quiet_cmd_dtc = DTC $@ # Modified for U-Boot # Bring in any U-Boot-specific include at the end of the file