mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
cddf69c549
commit
d58c3bd152
@@ -1,9 +1,9 @@
|
||||
GCOV_PROFILE := y
|
||||
|
||||
ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu
|
||||
ccflags-y += -I$(srctree)/../nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu/include/uapi
|
||||
ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu
|
||||
ccflags-y += -I$(srctree.nvgpu)/include
|
||||
ccflags-y += -I$(srctree.nvgpu)/include/uapi
|
||||
|
||||
ccflags-y += -I$(srctree)/drivers/devfreq
|
||||
|
||||
@@ -15,11 +15,11 @@ ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_19x_GPU),y)
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi
|
||||
ccflags-y += -I$(srctree)/../t19x/include
|
||||
ccflags-y += -I$(srctree.nvgpu-t19x)/drivers/gpu/nvgpu
|
||||
ccflags-y += -I$(srctree.nvgpu-t19x)/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree.nvgpu-t19x)/include
|
||||
ccflags-y += -I$(srctree.nvgpu-t19x)/include/uapi
|
||||
ccflags-y += -I$(srctree.t19x)/include
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_GK20A) := nvgpu.o
|
||||
|
||||
Reference in New Issue
Block a user