From: Jean-Jacques Hiblot Date: Fri, 22 Mar 2019 14:39:49 +0000 (+0100) Subject: Makefile.lib: include /__symbols__ in dtb if OF_LIBFDT_OVERLAY is enabled X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04447beb4b123436d626e1860be27484a4db640c;p=thirdparty%2Fu-boot.git Makefile.lib: include /__symbols__ in dtb if OF_LIBFDT_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 Signed-off-by: Michal Simek --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index d8d9175629b..0fc79e31983 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -295,6 +295,10 @@ cmd_dt_S_dtb= \ $(obj)/%.dtb.S: $(obj)/%.dtb $(call cmd,dt_S_dtb) +ifeq ($(CONFIG_OF_LIBFDT_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