diff options
| author | Frank Rowand <frank.rowand@sony.com> | 2017-04-25 20:09:53 -0400 |
|---|---|---|
| committer | Rob Herring <robh@kernel.org> | 2017-04-27 18:23:54 -0400 |
| commit | 331f741679564720a49ccf355012e1a8a45686ec (patch) | |
| tree | cd9e885741c38c349d8d39cd8d1eb4037a730bf0 /scripts/Makefile.lib | |
| parent | 09eb03f0598a9ef7e0d5eb440c6b7c15685f0cbf (diff) | |
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>
Diffstat (limited to 'scripts/Makefile.lib')
| -rw-r--r-- | scripts/Makefile.lib | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 8066b6185d1e..01c77403a803 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
| @@ -293,6 +293,8 @@ DTC_FLAGS += -Wnode_name_chars_strict \ | |||
| 293 | -Wproperty_name_chars_strict | 293 | -Wproperty_name_chars_strict |
| 294 | endif | 294 | endif |
| 295 | 295 | ||
| 296 | DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) | ||
| 297 | |||
| 296 | # Generate an assembly file to wrap the output of the device tree compiler | 298 | # Generate an assembly file to wrap the output of the device tree compiler |
| 297 | quiet_cmd_dt_S_dtb= DTB $@ | 299 | quiet_cmd_dt_S_dtb= DTB $@ |
| 298 | cmd_dt_S_dtb= \ | 300 | cmd_dt_S_dtb= \ |
