mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
host1x-nvhost: Copy source file from kernel/nvidia to build host1x-nvhost module
Copy the sources of host1x-nvhost module from kernel/nvidia to kernel/nvidia-oot to build host1x-nvhost as OOT module. Files get copied at build time. Change-Id: I86a8757d9beb3e760fbaef85ccf46974d1bbc303 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2715739 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
f77fc4cdef
commit
b2bf35ce6d
@@ -2,3 +2,4 @@
|
||||
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
obj-m += host1x/
|
||||
obj-m += host1x-nvhost/
|
||||
|
||||
10
drivers/gpu/host1x-nvhost/Makefile
Normal file
10
drivers/gpu/host1x-nvhost/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/nvidia/drivers/gpu/host1x-nvhost. 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.
|
||||
|
||||
@@ -18,3 +18,9 @@ copy_file nvidia/include/soc/tegra/fuse-helper.h include/soc/tegra/fuse-helper.h
|
||||
|
||||
# Files/directories for host1x module
|
||||
copy_dir nvidia/drivers/gpu/host1x drivers/gpu/host1x
|
||||
|
||||
# Files/directories for host1x-nvhost module
|
||||
copy_dir nvidia/drivers/gpu/host1x-nvhost drivers/gpu/host1x-nvhost
|
||||
copy_file nvidia/drivers/gpu/host1x/include/linux/host1x-next.h include/linux/host1x-next.h
|
||||
copy_file nvidia/include/linux/nvhost.h include/linux/nvhost.h
|
||||
copy_file nvidia/include/uapi/linux/nvdev_fence.h include/uapi/linux/nvdev_fence.h
|
||||
|
||||
Reference in New Issue
Block a user