Commit Graph

2 Commits

Author SHA1 Message Date
Laxman Dewangan
b193d11dae nvmap: Copy source file from kernel/nvidia to build nvmap module
Copy the sources of nvmap module from kernel/nvidia to
kernel/nvidia-oot to build nvmap as OOT module.

Files get copied at build time.

Bug 3583631

Change-Id: I97668e37d14b2dbfcda97a21b48508d0791f870f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2715732
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-05-24 04:49:56 -07:00
Laxman Dewangan
4edf906c26 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
2022-05-16 17:47:29 -07:00