diff options
| author | Tom Rini <[email protected]> | 2020-02-24 12:50:33 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-03-16 12:49:09 -0400 |
| commit | e0d1a89a5baec862a71384f7ddeebdf9d9c4ec63 (patch) | |
| tree | 19c4e3b87cfea6550a2cd237c02bc9df54cc5984 /scripts/Makefile.extrawarn | |
| parent | 67f2ee86ccbec6aa79b7fd6fe8af88f2aef7d592 (diff) | |
kbuild: Re-sync DTC flag logic with v4.17
The way that we have been handling additional DTC warning flags hasn't
matched the way the Linux Kernel does. Resync this logic with v4.17.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/Makefile.extrawarn')
| -rw-r--r-- | scripts/Makefile.extrawarn | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 1105c76be12..80231fbddfd 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -56,25 +56,4 @@ endif KBUILD_CFLAGS += $(warning) -dtc-warning-2 += -Wnode_name_chars_strict -dtc-warning-2 += -Wproperty_name_chars_strict - -dtc-warning := $(dtc-warning-$(findstring 1, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS))) -dtc-warning += $(dtc-warning-$(findstring 2, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS))) -dtc-warning += $(dtc-warning-$(findstring 3, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS))) - -DTC_FLAGS += $(dtc-warning) - -else - -# Disable noisy checks by default -DTC_FLAGS += -Wno-unit_address_vs_reg -DTC_FLAGS += -Wno-simple_bus_reg -DTC_FLAGS += -Wno-unit_address_format -DTC_FLAGS += -Wno-pci_bridge -DTC_FLAGS += -Wno-pci_device_bus_num -DTC_FLAGS += -Wno-pci_device_reg -DTC_FLAGS += -Wno-avoid_unnecessary_addr_size -DTC_FLAGS += -Wno-alias_paths - endif |
