diff options
-rw-r--r-- | drivers/gpu/nvgpu/Makefile.nvgpu (renamed from drivers/gpu/nvgpu/Makefile) | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile.nvgpu index 1cf2ea37..e3c115c6 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile.nvgpu | |||
@@ -122,10 +122,16 @@ ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | |||
122 | ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile),) | 122 | ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile),) |
123 | include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile | 123 | include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile |
124 | endif | 124 | endif |
125 | ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile.nvgpu-t18x),) | ||
126 | include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile.nvgpu-t18x | ||
127 | endif | ||
125 | endif | 128 | endif |
126 | 129 | ||
127 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) | 130 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) |
128 | ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),) | 131 | ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),) |
129 | include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile | 132 | include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile |
130 | endif | 133 | endif |
134 | ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x),) | ||
135 | include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x | ||
136 | endif | ||
131 | endif | 137 | endif |