Files
linux-nv-oot/Makefile-dkms
Akhil R 2c8af7b32d kernel: nvidia-oot: Add DKMS support
Add dkms.conf and Makefile to support DKMS for nvidia-oot modules.
This will enable building the OOT sources on a Tegra target.

Bug 3653634

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I70b7a37a65ea97c549d04a509a9234399f412d94
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2767579
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-07 12:27:01 -07:00

9 lines
295 B
Plaintext

# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
KDIR ?= /lib/modules/$(shell uname -r)/build
%:
$(MAKE) -C $(KDIR) M=$$PWD/drivers/ srctree.nvidia-oot=$$PWD \
srctree.nvidia=$$PWD CONFIG_TEGRA_OOT_MODULE=m $@