From 8d83cca278ae0615c80503e7dba81e2edb861543 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 21 Mar 2023 03:12:03 +0000 Subject: [PATCH] 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 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2874128 GVS: Gerrit_Virtual_Submit --- legacy-dts/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legacy-dts/Makefile b/legacy-dts/Makefile index 9b6a423..36e3c09 100644 --- a/legacy-dts/Makefile +++ b/legacy-dts/Makefile @@ -11,6 +11,10 @@ cmd_and_fixdep = \ 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 += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2