From 17a785e63267ab19cb33dfc873ffdcd10ec7e63d Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 9 Mar 2023 09:26:00 +0000 Subject: [PATCH] device-tree: Makefile: Make the LINUX VERSION to 6.00 Make the Linux kernel version to the 600 as default for building generic and legacy DTS from nvidia-oot. There is no case handled for the <515 on the DTS for OOT architecture. Change-Id: I8129c9ead5515a460c9c2dbae9d4f18de9fb7a61 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2868347 Reviewed-by: Bitan Biswas Reviewed-by: Ashish Mhetre GVS: Gerrit_Virtual_Submit --- device-tree/platform/generic-dts/Makefile | 4 ---- device-tree/platform/legacy-dts/Makefile | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/device-tree/platform/generic-dts/Makefile b/device-tree/platform/generic-dts/Makefile index 55a337de..adbc498f 100644 --- a/device-tree/platform/generic-dts/Makefile +++ b/device-tree/platform/generic-dts/Makefile @@ -13,11 +13,7 @@ include $(oottree)/scripts/Makefile.lib DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS) -ifneq ($(findstring oot,$(NV_BUILD_KERNEL_OPTIONS)),) -DTC_CPP_FLAGS += -DLINUX_VERSION=515 -DTEGRA_HOST1X_DT_VERSION=2 -else DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2 -endif ifneq ($(TEGRA_TOP),) SOURCE_TOP := $(TEGRA_TOP) diff --git a/device-tree/platform/legacy-dts/Makefile b/device-tree/platform/legacy-dts/Makefile index 069323f8..e27a747a 100644 --- a/device-tree/platform/legacy-dts/Makefile +++ b/device-tree/platform/legacy-dts/Makefile @@ -13,7 +13,7 @@ include $(oottree)/scripts/Makefile.lib DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS) -DTC_CPP_FLAGS += -DLINUX_VERSION=515 -DTEGRA_HOST1X_DT_VERSION=2 +DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2 ifneq ($(TEGRA_TOP),) SOURCE_TOP := $(TEGRA_TOP)