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

Commit 7b394f9c authored by Runmin Wang's avatar Runmin Wang
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 b744484b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -280,8 +280,10 @@ DTC ?= $(objtree)/scripts/dtc/dtc

# Disable noisy checks by default
ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),)
DTC_FLAGS += -Wno-unit_address_vs_reg \
	-Wno-simple_bus_reg \
DTC_FLAGS += -Wno-unit_address_vs_reg
endif
ifeq ($(DTC_EXT),)
DTC_FLAGS += -Wno-simple_bus_reg \
	-Wno-unit_address_format \
	-Wno-pci_bridge \
	-Wno-pci_device_bus_num \