nvmap: Add empty Makefiles for enabling nvmap build

Add empty makefile and its path for building nvmap.

The source code and makefile with proper entries are
copied from the kernel/nvidia to out folder during build.

This will help to build the module for OOT from the source
code available in the kernel/nvidia which supports multiple
versions of kernel and avoid duplication of code.

Bug 3583631

Change-Id: I4ded3c1e49fc60e58d205a0b5e646e7bb616d8c8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2712957
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Laxman Dewangan
2022-05-13 10:01:03 +00:00
committed by mobile promotions
parent 26a2a22e85
commit 4edf906c26
3 changed files with 7 additions and 0 deletions

View File

@@ -14,4 +14,5 @@ obj-m += soc/tegra/
obj-m += spi/
obj-m += thermal/
obj-m += watchdog/
obj-m += video/tegra/

View File

@@ -0,0 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
obj-m += nvmap/

View File

@@ -0,0 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.