diff options
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index f7bbd744..13a35f76 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile | |||
@@ -112,9 +112,13 @@ nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \ | |||
112 | gk20a/css_gr_gk20a.o | 112 | gk20a/css_gr_gk20a.o |
113 | 113 | ||
114 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 114 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
115 | include ../nvgpu-t18x/drivers/gpu/nvgpu/Makefile | 115 | ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile),) |
116 | include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile | ||
117 | endif | ||
116 | endif | 118 | endif |
117 | 119 | ||
118 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) | 120 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) |
119 | include ../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 | ||
123 | endif | ||
120 | endif | 124 | endif |