driver: makefile: Include host1x headers in build path

Multiple drivers include the host1x headers and it adds
the include path in their makefile.

Making this centralize so that driver's makefile does not
need this inclusion explicitly.

Bug 4087103

Change-Id: Iba13ec421582b95444b43b38d3276be004b78587
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894383
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-04-26 05:29:45 +00:00
committed by mobile promotions
parent 0ae09fcdd1
commit c3da1fd361

View File

@@ -1,7 +1,10 @@
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/gpu/host1x/hw/
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/video/tegra/host/
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/gpu/host1x/include
obj-m += block/tegra_virt_storage/
ifdef CONFIG_PSTORE