mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
host1x: Copy source file from kernel/nvidia to build host1x module
Copy the sources of host1x module from kernel/nvidia to kernel/nvidia-oot to build host1x as OOT module. Files get copied at build time. Change-Id: Iecd491630b8296f1da8f543003b26c2be8f62db5 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2715738 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
5197b374cb
commit
f77fc4cdef
@@ -3,6 +3,7 @@
|
||||
|
||||
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
||||
|
||||
obj-m += gpu/
|
||||
obj-m += hwmon/
|
||||
obj-m += i2c/busses/
|
||||
obj-m += mfd/
|
||||
|
||||
4
drivers/gpu/Makefile
Normal file
4
drivers/gpu/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
obj-m += host1x/
|
||||
10
drivers/gpu/host1x/Makefile
Normal file
10
drivers/gpu/host1x/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. 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.
|
||||
|
||||
@@ -15,3 +15,6 @@ copy_file nvidia/include/uapi/linux/nvmap.h include/uapi/linux/nvmap.h
|
||||
copy_dir nvidia/drivers/platform/tegra/cvnas drivers/platform/tegra/cvnas
|
||||
copy_file nvidia/include/linux/cvnas.h include/linux/cvnas.h
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user