Files
linux-nv-oot/drivers/virt/tegra/Makefile
Manish Bhardwaj 150beca335 nvidia-oot: tegra_hv: add dummy driver support
For some of the kernel tegra_hv is part of core kernel and
hence it is nto required to use the OOT tegra_hv driver.

However, some packaging still expect the tegra_hv.ko from
the OOT path. To trick the packaging file, add dummy tegra_hv
driver which does not have anything other than module_init/module_exit.

Bug 4551265

Change-Id: I59f6233705e2cfb510470ae3b9c1ce7d39618330
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3197802
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2025-07-24 10:19:07 +00:00

21 lines
462 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Makefile for Hypervisor interface
#
ifdef CONFIG_TEGRA_VIRTUALIZATION
ifneq ($(NV_OOT_TEGRA_HV_SKIP_BUILD),y)
obj-m += tegra_hv.o
else
obj-m += tegra_hv.o
tegra_hv-objs := tegra_hv_dummy.o
endif
endif
obj-m += tegra_hv_pm_ctl.o
obj-m += hvc_sysfs.o
obj-m += ivc-cdev.o
obj-m += userspace_ivc_mempool.o
obj-m += tegra_hv_vcpu_yield.o