diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-06-02 12:52:05 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-03 13:08:12 -0400 |
commit | 608101dbfa1c99069ca2abe9d70a204419f8e719 (patch) | |
tree | cf51a3be0a246051902badfd0a1c6baa923cfce5 /drivers/gpu/nvgpu | |
parent | e8b408ef27e9b46498db27cf4f893a3bf64376d1 (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')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile | 4 |
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 | |||
16 | ccflags-y += -I$(srctree)/../nvgpu-t18x/include/uapi | 16 | ccflags-y += -I$(srctree)/../nvgpu-t18x/include/uapi |
17 | endif | 17 | endif |
18 | 18 | ||
19 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) | 19 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) |
20 | ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu | 20 | ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu |
21 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include | 21 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include |
22 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi | 22 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi |
@@ -117,7 +117,7 @@ include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile | |||
117 | endif | 117 | endif |
118 | endif | 118 | endif |
119 | 119 | ||
120 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) | 120 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) |
121 | ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),) | 121 | ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),) |
122 | include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile | 122 | include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile |
123 | endif | 123 | endif |