summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2016-06-02 12:52:05 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-06-03 13:08:12 -0400
commit608101dbfa1c99069ca2abe9d70a204419f8e719 (patch)
treecf51a3be0a246051902badfd0a1c6baa923cfce5 /drivers/gpu/nvgpu/Makefile
parente8b408ef27e9b46498db27cf4f893a3bf64376d1 (diff)
gpu: nvgpu: use correct config for t19x
Use TEGRA_19x_GPU config instead of ARCH_TEGRA_19x_SOC for t19x functionality. This config will defined only when gpu repository for t19x is available. Bug 1757988 Change-Id: I53421f31cbed49a2fb24085c150599c78b8158c0 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1158183 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r--drivers/gpu/nvgpu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index 13a35f76..b0bb4176 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -16,7 +16,7 @@ ccflags-y += -I$(srctree)/../nvgpu-t18x/include
16ccflags-y += -I$(srctree)/../nvgpu-t18x/include/uapi 16ccflags-y += -I$(srctree)/../nvgpu-t18x/include/uapi
17endif 17endif
18 18
19ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) 19ifeq ($(CONFIG_TEGRA_19x_GPU),y)
20ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu 20ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu
21ccflags-y += -I$(srctree)/../nvgpu-t19x/include 21ccflags-y += -I$(srctree)/../nvgpu-t19x/include
22ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi 22ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi
@@ -117,7 +117,7 @@ include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile
117endif 117endif
118endif 118endif
119 119
120ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) 120ifeq ($(CONFIG_TEGRA_19x_GPU),y)
121ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),) 121ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),)
122include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile 122include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile
123endif 123endif