dtc: Silence warnings by default

Change-Id: Id9adf76a357dabd5f64503852baf84e67488fcb0
This commit is contained in:
Danny Lin 2019-07-18 18:49:10 -07:00 committed by Michael Bestas
parent f5e1cd9a11
commit 89f6b418a4
No known key found for this signature in database
GPG Key ID: CC95044519BE6669

View File

@ -243,6 +243,9 @@ quiet_cmd_gzip = GZIP $@
# ---------------------------------------------------------------------------
DTC ?= $(objtree)/scripts/dtc/dtc
# Silence all DTC warnings by default
DTC_FLAGS += -q
# Disable noisy checks by default
ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
DTC_FLAGS += -Wno-unit_address_vs_reg