diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-10-15 09:39:01 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:49 -0400 |
commit | 23d15214ae7d1e98b33552cd4cd2346cfea5725f (patch) | |
tree | 27ded405220af7be726214e89b9d9a2ea50d0597 /drivers/gpu/nvgpu/gk20a | |
parent | c1f8d68924bc2f50faa6afb6d12fa3acd72c2ec6 (diff) |
gpu: nvgpu: allow building as a separate module
Include object files of gk20a, gm20b and vgpu in the same composite
object nvgpu.o in the top-level makefile, and remove the old makefiles.
This helps in building the driver as a separate module.
Bug 1476801
Change-Id: I93531c0f1a20e46904a429e492f8ed32e4f0c4a1
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/557971
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/Makefile | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/Makefile b/drivers/gpu/nvgpu/gk20a/Makefile deleted file mode 100644 index fbc9cbec..00000000 --- a/drivers/gpu/nvgpu/gk20a/Makefile +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | GCOV_PROFILE := y | ||
2 | ccflags-y += -Idrivers/gpu/nvgpu | ||
3 | ccflags-y += -Idrivers/video/tegra/host | ||
4 | ccflags-y += -Idrivers/devfreq | ||
5 | ccflags-y += -Wno-multichar | ||
6 | ccflags-y += -Werror | ||
7 | |||
8 | nvgpu-y := \ | ||
9 | gk20a.o \ | ||
10 | as_gk20a.o \ | ||
11 | ctrl_gk20a.o \ | ||
12 | fifo_gk20a.o \ | ||
13 | channel_gk20a.o \ | ||
14 | channel_sync_gk20a.o \ | ||
15 | debug_gk20a.o \ | ||
16 | dbg_gpu_gk20a.o \ | ||
17 | regops_gk20a.o \ | ||
18 | gr_gk20a.o \ | ||
19 | kind_gk20a.o \ | ||
20 | mm_gk20a.o \ | ||
21 | pmu_gk20a.o \ | ||
22 | priv_ring_gk20a.o \ | ||
23 | semaphore_gk20a.o \ | ||
24 | fence_gk20a.o \ | ||
25 | clk_gk20a.o \ | ||
26 | therm_gk20a.o \ | ||
27 | gr_ctx_gk20a_sim.o \ | ||
28 | gr_ctx_gk20a.o \ | ||
29 | gk20a_gating_reglist.o \ | ||
30 | gk20a_scale.o \ | ||
31 | gk20a_sysfs.o \ | ||
32 | ltc_gk20a.o \ | ||
33 | fb_gk20a.o \ | ||
34 | hal.o \ | ||
35 | hal_gk20a.o \ | ||
36 | gk20a_allocator.o \ | ||
37 | cde_gk20a.o \ | ||
38 | platform_gk20a_generic.o \ | ||
39 | tsg_gk20a.o | ||
40 | nvgpu-$(CONFIG_TEGRA_GK20A) += platform_gk20a_tegra.o | ||
41 | nvgpu-$(CONFIG_SYNC) += sync_gk20a.o | ||
42 | nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += platform_vgpu_tegra.o | ||
43 | |||
44 | obj-$(CONFIG_GK20A) := nvgpu.o | ||