summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2016-04-07 18:35:51 -0400
committerKen Adams <kadams@nvidia.com>2016-04-13 17:11:43 -0400
commitccba95757033292d881671e575aed5e0feb61dc3 (patch)
tree623dc9c7aaafc90c94964b8777ae94c1e8663daa /drivers/gpu/nvgpu/Makefile
parent2a57c10e4b83ff397d3b4053c5806f152885ca20 (diff)
gpu: nvgpu: add support for t19x
Add build and gpu framework support for t19x. Bug 1735757 Change-Id: I4b7c6468871ca27412a6f9be20f744bc730b4142 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1122093 GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams <kadams@nvidia.com>
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