diff options
| author | Rob Herring <robh@kernel.org> | 2018-02-28 09:09:45 -0500 |
|---|---|---|
| committer | Rob Herring <robh@kernel.org> | 2018-03-05 21:58:18 -0500 |
| commit | 4fd98e374fd377ae0458a9dc44aa779cf9631ddd (patch) | |
| tree | 18d1dd1c70a885f05b7c1cfb1694c2ad66245238 /scripts | |
| parent | 9130ba884640328bb78aaa4840e5ddf06ccafb1c (diff) | |
scripts: turn off some new dtc warnings by default
The latest dtc update adds some new noisy warnings, so turn them off by
default. Disable 'avoid_unnecessary_addr_size' and 'alias_paths'. They
can be re-enabled by building with 'W=1'.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts')
| -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 10906c1d7715..dcc934319f92 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
| @@ -277,6 +277,8 @@ DTC ?= $(objtree)/scripts/dtc/dtc | |||
| 277 | ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) | 277 | ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) |
| 278 | DTC_FLAGS += -Wno-unit_address_vs_reg \ | 278 | DTC_FLAGS += -Wno-unit_address_vs_reg \ |
| 279 | -Wno-unit_address_format \ | 279 | -Wno-unit_address_format \ |
| 280 | -Wno-avoid_unnecessary_addr_size \ | ||
| 281 | -Wno-alias_paths \ | ||
| 280 | -Wno-pci_device_reg | 282 | -Wno-pci_device_reg |
| 281 | endif | 283 | endif |
| 282 | 284 | ||
