From ed4d177f966d2f93a37725ee7c9587cd8ff774cb Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Mon, 30 Nov 2020 12:30:21 +0000 Subject: [PATCH] scripts: Silence all dtc warnings seen with Samsung DTS It is insane to fix them all, so just ignore. If needed, can be re-enabled by building with 'W=1'. Change-Id: Ic56bc08b255342fc19f5872463552be13375cceb --- scripts/Makefile.lib | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 630b6ecef467..4661de07300e 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -275,7 +275,9 @@ DTC_FLAGS += -@ # Disable noisy checks by default ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) -DTC_FLAGS += -Wno-unit_address_vs_reg +DTC_FLAGS += -Wno-unit_address_vs_reg \ + -Wno-avoid_default_addr_size \ + -Wno-reg_format endif # Generate an assembly file to wrap the output of the device tree compiler -- 2.20.1