summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2017-11-06 16:54:45 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-09 06:27:31 -0500
commitd58c3bd152a3f86195a537f7115b3b32b4042a15 (patch)
tree0bee79401e769468b04dafc8047cc198a65ab170 /drivers/gpu/nvgpu
parentcddf69c549c5c6fb2c69e4620636e96c698a4201 (diff)
nvgpu: use $(srctree.$(overlay))
Update all Makefiles to make use of the new srctree.$(overlay) variables to remove hard-coding the path to any overlays. Bug 1978395 Change-Id: I160efb55536c1d2b1e090895d9d62432a1e4c28c Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1593802 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index a0cb5d90..138068c1 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -1,9 +1,9 @@
1GCOV_PROFILE := y 1GCOV_PROFILE := y
2 2
3ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu/include 3ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu/include
4ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu 4ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu
5ccflags-y += -I$(srctree)/../nvgpu/include 5ccflags-y += -I$(srctree.nvgpu)/include
6ccflags-y += -I$(srctree)/../nvgpu/include/uapi 6ccflags-y += -I$(srctree.nvgpu)/include/uapi
7 7
8ccflags-y += -I$(srctree)/drivers/devfreq 8ccflags-y += -I$(srctree)/drivers/devfreq
9 9
@@ -15,11 +15,11 @@ ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
15endif 15endif
16 16
17ifeq ($(CONFIG_TEGRA_19x_GPU),y) 17ifeq ($(CONFIG_TEGRA_19x_GPU),y)
18ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu 18ccflags-y += -I$(srctree.nvgpu-t19x)/drivers/gpu/nvgpu
19ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/include 19ccflags-y += -I$(srctree.nvgpu-t19x)/drivers/gpu/nvgpu/include
20ccflags-y += -I$(srctree)/../nvgpu-t19x/include 20ccflags-y += -I$(srctree.nvgpu-t19x)/include
21ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi 21ccflags-y += -I$(srctree.nvgpu-t19x)/include/uapi
22ccflags-y += -I$(srctree)/../t19x/include 22ccflags-y += -I$(srctree.t19x)/include
23endif 23endif
24 24
25obj-$(CONFIG_GK20A) := nvgpu.o 25obj-$(CONFIG_GK20A) := nvgpu.o