Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6fc2db0 authored by Runmin Wang's avatar Runmin Wang Committed by Jeevan Shriram
Browse files

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: default avatarRunmin Wang <runminw@codeaurora.org>
parent fd881362
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 \