Skip to content

Commit 1eb7e42

Browse files
geertuDa Xue
authored andcommitted
kbuild: Enable DT symbols when CONFIG_OF_OVERLAY is used
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- Replacement for "ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used".
1 parent 0c73ef0 commit 1eb7e42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/Makefile.lib

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,10 @@ $(obj)/%.dtb.S: $(obj)/%.dtb FORCE
388388
$(obj)/%.dtbo.S: $(obj)/%.dtbo FORCE
389389
$(call if_changed,wrap_S_dtb)
390390

391+
ifeq ($(CONFIG_OF_OVERLAY),y)
392+
DTC_FLAGS += -@
393+
endif
394+
391395
quiet_cmd_dtc = DTC $@
392396
cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
393397
$(DTC) -o $@ -b 0 \

0 commit comments

Comments
 (0)