mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
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>
9 lines
295 B
Plaintext
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 $@
|