device-tree: legacy-dts: ignore graph port and endpoint warning

The legacy DTS is intentionally written to have macro in unit
address in the name of the node. This is creating the warning
for graph_port and graph_endpoint.

Ignore the warning for legacy DT build.

Bug 4037171

Change-Id: I57a869a2e69dcb7934fa6650edbd7d15b8e5f784
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2874128
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-03-21 03:12:03 +00:00
committed by mobile promotions
parent d02c050207
commit b022df552b

View File

@@ -11,6 +11,10 @@ cmd_and_fixdep = \
include $(oottree)/scripts/Makefile.lib include $(oottree)/scripts/Makefile.lib
# Stop warning of the graph port and graph endpoint
DTC_FLAGS += -Wno-graph_port
DTC_FLAGS += -Wno-graph_endpoint
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS) DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2 DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2