diff options
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index f6b3a673..df660eb7 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile | |||
@@ -8,9 +8,9 @@ ccflags-y += -Werror | |||
8 | ccflags-y += -Wno-error=cpp | 8 | ccflags-y += -Wno-error=cpp |
9 | 9 | ||
10 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 10 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
11 | ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu | 11 | ccflags-y += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu |
12 | ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include | 12 | ccflags-y += -I$(srctree)/../kernel-t18x/include |
13 | ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include/uapi | 13 | ccflags-y += -I$(srctree)/../kernel-t18x/include/uapi |
14 | endif | 14 | endif |
15 | 15 | ||
16 | obj-$(CONFIG_GK20A) := nvgpu.o | 16 | obj-$(CONFIG_GK20A) := nvgpu.o |
@@ -46,6 +46,8 @@ nvgpu-y := \ | |||
46 | gk20a/cde_gk20a.o \ | 46 | gk20a/cde_gk20a.o \ |
47 | gk20a/platform_gk20a_generic.o \ | 47 | gk20a/platform_gk20a_generic.o \ |
48 | gk20a/tsg_gk20a.o \ | 48 | gk20a/tsg_gk20a.o \ |
49 | gk20a/ctxsw_trace_gk20a.o \ | ||
50 | gk20a/fecs_trace_gk20a.o \ | ||
49 | gk20a/mc_gk20a.o \ | 51 | gk20a/mc_gk20a.o \ |
50 | gm20b/hal_gm20b.o \ | 52 | gm20b/hal_gm20b.o \ |
51 | gm20b/ltc_gm20b.o \ | 53 | gm20b/ltc_gm20b.o \ |
@@ -64,7 +66,6 @@ nvgpu-y := \ | |||
64 | gm20b/debug_gm20b.o \ | 66 | gm20b/debug_gm20b.o \ |
65 | gm20b/cde_gm20b.o \ | 67 | gm20b/cde_gm20b.o \ |
66 | gm20b/therm_gm20b.o | 68 | gm20b/therm_gm20b.o |
67 | |||
68 | nvgpu-$(CONFIG_TEGRA_GK20A) += gk20a/platform_gk20a_tegra.o | 69 | nvgpu-$(CONFIG_TEGRA_GK20A) += gk20a/platform_gk20a_tegra.o |
69 | nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o | 70 | nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o |
70 | 71 | ||
@@ -78,6 +79,7 @@ nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \ | |||
78 | vgpu/debug_vgpu.o \ | 79 | vgpu/debug_vgpu.o \ |
79 | vgpu/vgpu.o \ | 80 | vgpu/vgpu.o \ |
80 | vgpu/dbg_vgpu.o \ | 81 | vgpu/dbg_vgpu.o \ |
82 | vgpu/fecs_trace_vgpu.o \ | ||
81 | vgpu/gk20a/vgpu_hal_gk20a.o \ | 83 | vgpu/gk20a/vgpu_hal_gk20a.o \ |
82 | vgpu/gk20a/vgpu_gr_gk20a.o \ | 84 | vgpu/gk20a/vgpu_gr_gk20a.o \ |
83 | vgpu/gm20b/vgpu_hal_gm20b.o \ | 85 | vgpu/gm20b/vgpu_hal_gm20b.o \ |
@@ -94,7 +96,5 @@ nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \ | |||
94 | gk20a/css_gr_gk20a.o | 96 | gk20a/css_gr_gk20a.o |
95 | 97 | ||
96 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 98 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
97 | ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu | 99 | include ../kernel-t18x/drivers/gpu/nvgpu/Makefile |
98 | ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include | ||
99 | obj-$(CONFIG_GK20A) += ../../../../kernel-t18x/drivers/gpu/nvgpu/ | ||
100 | endif | 100 | endif |