diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2019-10-22 16:39:16 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-07 11:12:47 -0500 |
commit | 47818e23a2281bbbf64df5936f67a6f98bbd6563 (patch) | |
tree | b13bc00b6109ebd6c0f01a1b0494e419d6796eab /scripts/Makefile.lib | |
parent | 19141d698302dd7192f04f69d32826494905031e (diff) | |
download | u-boot-47818e23a2281bbbf64df5936f67a6f98bbd6563.tar.gz |
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 <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r-- | scripts/Makefile.lib | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index c10cd83a0a..4ea898a421 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 |