scripts: Makefile: Remove flags which are not support by EXT_DTC

DTBO relies on external DTC compiler and there are certain flags which
are not supported by the external DTC compiler.
Add a check to remove those flags for now.

Change-Id: I318a1d110bd54a4a888ee8a5456d7c5a39bd9f6b
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
This commit is contained in:
Runmin Wang 2017-08-11 14:29:02 -07:00 committed by Jeevan Shriram
parent fd881362c4
commit c6fc2db0c1

View file

@ -257,7 +257,10 @@ DTC ?= $(objtree)/scripts/dtc/dtc
# Disable noisy checks by default
ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
DTC_FLAGS += -Wno-unit_address_vs_reg \
DTC_FLAGS += -Wno-unit_address_vs_reg
endif
ifeq ($(DTC_EXT),)
DTC_FLAGS += -Wno-simple_bus_reg \
-Wno-unit_address_format \
-Wno-avoid_unnecessary_addr_size \
-Wno-alias_paths \