diff --git a/drivers/block/tegra_virt_storage/Makefile b/drivers/block/tegra_virt_storage/Makefile index 505c4e88..2043216b 100644 --- a/drivers/block/tegra_virt_storage/Makefile +++ b/drivers/block/tegra_virt_storage/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -# SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Makefile for Virtual Storage Driver @@ -8,6 +8,7 @@ LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL)) LINUX_VERSION_6_11 := $(shell expr 6 \* 256 + 11) +ifneq ($(NV_OOT_BLOCK_TEGRA_VIRT_STORAGE_SKIP_BUILD),y) # Use dummy driver for Kernel versions greater than or equal to Linux v6.11 ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_11); echo $$?),0) tegra_vblk-y += tegra_hv_vblk.o @@ -16,4 +17,5 @@ tegra_vblk-y += tegra_hv_mmc.o tegra_vblk-y += tegra_hv_scsi.o tegra_vblk-y += tegra_hv_ufs.o obj-m += tegra_vblk.o -endif \ No newline at end of file +endif +endif