summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r--drivers/gpu/nvgpu/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index 1d712d57..8cd5cc7c 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -15,6 +15,12 @@ ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include
15ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include/uapi 15ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include/uapi
16endif 16endif
17 17
18ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
19ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/drivers/gpu/nvgpu
20ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/include
21ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/include/uapi
22endif
23
18obj-$(CONFIG_GK20A) := nvgpu.o 24obj-$(CONFIG_GK20A) := nvgpu.o
19 25
20nvgpu-y := \ 26nvgpu-y := \
@@ -100,3 +106,7 @@ nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \
100ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) 106ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
101include ../kernel-nvgpu-t18x/drivers/gpu/nvgpu/Makefile 107include ../kernel-nvgpu-t18x/drivers/gpu/nvgpu/Makefile
102endif 108endif
109
110ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
111include ../kernel-nvgpu-t19x/drivers/gpu/nvgpu/Makefile
112endif