mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvdla: Copy source file from kernel/nvidia to build nvdla module
Copy the sources of nvdla module from kernel/nvidia to kernel/nvidia-oot to build nvdla as OOT module. Files get copied at build time. Bug 3583604 Change-Id: Ieb7169ada0f18e42cdb0883fdef92bba12e161d2 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2715741 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
b2bf35ce6d
commit
bde39f44e5
@@ -2,3 +2,4 @@
|
||||
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
obj-m += nvmap/
|
||||
obj-m += host/nvdla/
|
||||
|
||||
9
drivers/video/tegra/host/nvdla/Makefile
Normal file
9
drivers/video/tegra/host/nvdla/Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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/video/tegra/host/nvdla. 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.
|
||||
@@ -24,3 +24,9 @@ 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
|
||||
|
||||
# Files/directories for NVDLA
|
||||
copy_dir nvidia/drivers/video/tegra/host/nvdla drivers/video/tegra/host/nvdla
|
||||
copy_file nvidia/include/linux/arm64-barrier.h include/linux/arm64-barrier.h
|
||||
copy_file nvidia/include/uapi/linux/nvhost_nvdla_ioctl.h include/uapi/linux/nvhost_nvdla_ioctl.h
|
||||
copy_file nvidia/include/uapi/linux/nvhost_ioctl.h include/uapi/linux/nvhost_ioctl.h
|
||||
|
||||
Reference in New Issue
Block a user