History

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'.

Rob Herring committed 8 years ago

Commit 4fd98e31 parent 9130ba81 file · +2 −0Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/Makefile.lib+2−0
@@ -277,6 +277,8 @@ DTC ?= $(objtree)/scripts/dtc/dtc · 276 unmodified lines
277277 ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
278278 DTC_FLAGS += -Wno-unit_address_vs_reg \
279279 -Wno-unit_address_format \
280+ -Wno-avoid_unnecessary_addr_size \
281+ -Wno-alias_paths \
280282 -Wno-pci_device_reg
281283 endif
282284