From 2ac404f41044c86aa2b1aeb4062f509b2d472efd Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 12 Dec 2023 11:45:19 +0000 Subject: [PATCH] nvidia-oot: Remove unused CONFIG_TEGRA_IVC_LEGACY_DISABLE The export of config CONFIG_TEGRA_IVC_LEGACY_DISABLE is no more required as all drivers which was disabled from build due to IVC API changes are ported to handle the new APIs from core kernel. Remove unused config CONFIG_TEGRA_IVC_LEGACY_DISABLE. Bug 4346767 Change-Id: I7830f962735b293f9c78cd03acfa1413f9eb4cff Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3033025 (cherry picked from commit 2179242ba923dd2350bd4d3542f0568a9ad91ea8) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3059174 Reviewed-by: Jonathan Hunter Tested-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit --- Makefile | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Makefile b/Makefile index c924b1bc..de4f6b10 100644 --- a/Makefile +++ b/Makefile @@ -7,19 +7,6 @@ LINUXINCLUDE += -I$(srctree.nvidia-oot)/include subdir-ccflags-y += -Werror subdir-ccflags-y += -Wmissing-prototypes -LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL)) -LINUX_VERSION_6_2 := $(shell expr 6 \* 256 + 2) - -# The Tegra IVC driver was updated to support iosys-map in Linux v6.2. -# For Linux v6.2 kernels, don't build any drivers that requires this. -ifeq ($(shell test $(LINUX_VERSION) -ge $(LINUX_VERSION_6_2); echo $$?),0) -export CONFIG_TEGRA_IVC_LEGACY_DISABLE=y -endif - -ifeq ($(CONFIG_TEGRA_IVC_LEGACY_DISABLE),y) -subdir-ccflags-y += -DCONFIG_TEGRA_IVC_LEGACY_DISABLE -endif - ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y) subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION endif