mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvgpu: Copy source file from kernel/nvgpu to build nvgpu module
Copy the sources of nvgpu module from kernel/nvgpu to kernel/nvidia-oot to build nvgpu as OOT module. Files get copied at build time. Change-Id: I4053685edd5e3f8cec6e16aefb183a13c6210d0e Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2718331 GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
53115452ad
commit
32987b224a
@@ -4,3 +4,4 @@
|
|||||||
obj-m += drm/tegra/
|
obj-m += drm/tegra/
|
||||||
obj-m += host1x/
|
obj-m += host1x/
|
||||||
obj-m += host1x-nvhost/
|
obj-m += host1x-nvhost/
|
||||||
|
obj-m += nvgpu/
|
||||||
|
|||||||
10
drivers/gpu/nvgpu/Makefile
Normal file
10
drivers/gpu/nvgpu/Makefile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||||
|
|
||||||
|
# NOTE: Do not change or add anything in this makefile.
|
||||||
|
# The source code and makefile rules are copied from the
|
||||||
|
# kernel/nvgpu/drivers/gpu/nvgpu. This file is
|
||||||
|
# just place-holder for empty makefile to avoid any build
|
||||||
|
# issue when copy is not done from command line and building
|
||||||
|
# the tree independent of source copy.
|
||||||
|
|
||||||
@@ -33,3 +33,9 @@ copy_file nvidia/include/uapi/linux/nvhost_ioctl.h include/uapi/linux/nvhost_ioc
|
|||||||
|
|
||||||
# Files/directories for DRM
|
# Files/directories for DRM
|
||||||
copy_dir nvidia/drivers/gpu/drm/tegra drivers/gpu/drm/tegra
|
copy_dir nvidia/drivers/gpu/drm/tegra drivers/gpu/drm/tegra
|
||||||
|
|
||||||
|
# Files/directories for NVGPU
|
||||||
|
copy_dir nvgpu/drivers/gpu/nvgpu drivers/gpu/nvgpu
|
||||||
|
copy_dir nvgpu/include include
|
||||||
|
copy_dir nvgpu/nvsched nvsched
|
||||||
|
copy_file nvidia/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h include/linux/nvmap_exports.h
|
||||||
|
|||||||
Reference in New Issue
Block a user