diff options
author | Stephen Warren <swarren@nvidia.com> | 2017-11-06 16:54:45 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-09 06:27:31 -0500 |
commit | d58c3bd152a3f86195a537f7115b3b32b4042a15 (patch) | |
tree | 0bee79401e769468b04dafc8047cc198a65ab170 | |
parent | cddf69c549c5c6fb2c69e4620636e96c698a4201 (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>
-rw-r--r-- | drivers/gpu/nvgpu/Makefile | 18 |
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 @@ | |||
1 | GCOV_PROFILE := y | 1 | GCOV_PROFILE := y |
2 | 2 | ||
3 | ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu/include | 3 | ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu/include |
4 | ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu | 4 | ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu |
5 | ccflags-y += -I$(srctree)/../nvgpu/include | 5 | ccflags-y += -I$(srctree.nvgpu)/include |
6 | ccflags-y += -I$(srctree)/../nvgpu/include/uapi | 6 | ccflags-y += -I$(srctree.nvgpu)/include/uapi |
7 | 7 | ||
8 | ccflags-y += -I$(srctree)/drivers/devfreq | 8 | ccflags-y += -I$(srctree)/drivers/devfreq |
9 | 9 | ||
@@ -15,11 +15,11 @@ ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) | 17 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) |
18 | ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu | 18 | ccflags-y += -I$(srctree.nvgpu-t19x)/drivers/gpu/nvgpu |
19 | ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/include | 19 | ccflags-y += -I$(srctree.nvgpu-t19x)/drivers/gpu/nvgpu/include |
20 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include | 20 | ccflags-y += -I$(srctree.nvgpu-t19x)/include |
21 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi | 21 | ccflags-y += -I$(srctree.nvgpu-t19x)/include/uapi |
22 | ccflags-y += -I$(srctree)/../t19x/include | 22 | ccflags-y += -I$(srctree.t19x)/include |
23 | endif | 23 | endif |
24 | 24 | ||
25 | obj-$(CONFIG_GK20A) := nvgpu.o | 25 | obj-$(CONFIG_GK20A) := nvgpu.o |