From ec367616333a5958335a322418a56a45d22fcae0 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 5 Mar 2024 07:39:20 +0000 Subject: [PATCH] device-tree: Add OS_LINUX as the DTC flag Add device tree compiler flag as OS_LINUX for building the DT for linux. Bug 3081230 Change-Id: I7b5efc8840988f7afb9bcd2ee7c1c0997d4f8c3a Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3089477 Reviewed-by: svcacv GVS: Gerrit_Virtual_Submit --- device-tree/platform/generic-dts/Makefile | 2 +- device-tree/platform/legacy-dts/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device-tree/platform/generic-dts/Makefile b/device-tree/platform/generic-dts/Makefile index a0639f1b..2915a712 100644 --- a/device-tree/platform/generic-dts/Makefile +++ b/device-tree/platform/generic-dts/Makefile @@ -13,7 +13,7 @@ include $(oottree)/scripts/Makefile.lib 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 -DOS_LINUX ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),) ifneq ($(TOP),) diff --git a/device-tree/platform/legacy-dts/Makefile b/device-tree/platform/legacy-dts/Makefile index a4584754..035f73ff 100644 --- a/device-tree/platform/legacy-dts/Makefile +++ b/device-tree/platform/legacy-dts/Makefile @@ -17,7 +17,7 @@ DTC_FLAGS += -Wno-graph_endpoint 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 -DOS_LINUX ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),) ifneq ($(TOP),)