summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index e140589a..f3e2c29d 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -3,22 +3,22 @@ GCOV_PROFILE := y
3ccflags-y += -Idrivers/gpu/nvgpu 3ccflags-y += -Idrivers/gpu/nvgpu
4ccflags-y += -Idrivers/video/tegra/host 4ccflags-y += -Idrivers/video/tegra/host
5ccflags-y += -Idrivers/devfreq 5ccflags-y += -Idrivers/devfreq
6ccflags-y += -I../kernel-nvgpu/include 6ccflags-y += -I../nvgpu/include
7ccflags-y += -I../kernel-nvgpu/include/uapi 7ccflags-y += -I../nvgpu/include/uapi
8ccflags-y += -Wno-multichar 8ccflags-y += -Wno-multichar
9ccflags-y += -Werror 9ccflags-y += -Werror
10ccflags-y += -Wno-error=cpp 10ccflags-y += -Wno-error=cpp
11 11
12ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) 12ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
13ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/drivers/gpu/nvgpu 13ccflags-y += -I$(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu
14ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include 14ccflags-y += -I$(srctree)/../nvgpu-t18x/include
15ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include/uapi 15ccflags-y += -I$(srctree)/../nvgpu-t18x/include/uapi
16endif 16endif
17 17
18ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) 18ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
19ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/drivers/gpu/nvgpu 19ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu
20ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/include 20ccflags-y += -I$(srctree)/../nvgpu-t19x/include
21ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/include/uapi 21ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi
22endif 22endif
23 23
24obj-$(CONFIG_GK20A) := nvgpu.o 24obj-$(CONFIG_GK20A) := nvgpu.o
@@ -110,9 +110,9 @@ nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \
110 gk20a/css_gr_gk20a.o 110 gk20a/css_gr_gk20a.o
111 111
112ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) 112ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
113include ../kernel-nvgpu-t18x/drivers/gpu/nvgpu/Makefile 113include ../nvgpu-t18x/drivers/gpu/nvgpu/Makefile
114endif 114endif
115 115
116ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) 116ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
117include ../kernel-nvgpu-t19x/drivers/gpu/nvgpu/Makefile 117include ../nvgpu-t19x/drivers/gpu/nvgpu/Makefile
118endif 118endif