From b022df552b0d11e47ed419d8ea6651e337697c7b 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 --- device-tree/platform/legacy-dts/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-tree/platform/legacy-dts/Makefile b/device-tree/platform/legacy-dts/Makefile index e27a747a..5d28af9a 100644 --- a/device-tree/platform/legacy-dts/Makefile +++ b/device-tree/platform/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