gpu: host1x-nvhost: Update include path

When building the host1x-nvhost driver as an external module, the driver
source is now copied into a common location with all the other external
modules. Therefore, we can now use the 'srctree.nvidia' path for finding
the necessary header files for Host1x. Update the include search paths
to use 'srctree.nvidia' when building the driver.

Bug 3817518

Change-Id: I443dd4cb6d01c4e9be8f3c02550b1050d0bcfd28
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2785956
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2022-10-03 11:41:57 +01:00
committed by Laxman Dewangan
parent 2e94a90e1d
commit 9d0dda14ae

View File

@@ -7,7 +7,7 @@
ccflags-y += -I$(srctree.nvidia)/include ccflags-y += -I$(srctree.nvidia)/include
ccflags-y += -I$(srctree.nvidia)/include/uapi/linux ccflags-y += -I$(srctree.nvidia)/include/uapi/linux
ccflags-y += -I$(srctree.host1x)/include ccflags-y += -I$(srctree.nvidia)/drivers/gpu/host1x/include
ccflags-y += -DCONFIG_TEGRA_HOST1X ccflags-y += -DCONFIG_TEGRA_HOST1X
ccflags-y += -Werror ccflags-y += -Werror