Skip to content

Commit 331f741

Browse files
frowandrobherring
authored andcommitted
of: per-file dtc compiler flags
The dtc compiler version that adds initial support was available in 4.11-rc1. Add the ability to set an additional dtc compiler flag is needed by overlays. Signed-off-by: Frank Rowand <frank.rowand@sony.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 09eb03f commit 331f741

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/Makefile.lib

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ DTC_FLAGS += -Wnode_name_chars_strict \
293293
-Wproperty_name_chars_strict
294294
endif
295295

296+
DTC_FLAGS += $(DTC_FLAGS_$(basetarget))
297+
296298
# Generate an assembly file to wrap the output of the device tree compiler
297299
quiet_cmd_dt_S_dtb= DTB $@
298300
cmd_dt_S_dtb= \

0 commit comments

Comments
 (0)