aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/Kbuild
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-01-13 07:13:14 -0500
committerBen Skeggs <bskeggs@redhat.com>2015-01-21 21:15:10 -0500
commitc39f472e9f14e49a9bc091977ced0ec45fc00c57 (patch)
tree75af3291cccda2482913cc0044888a8a86f4841b /drivers/gpu/drm/nouveau/Kbuild
parent055a65d5987a7f246c3fc2297158286882dbdbcf (diff)
drm/nouveau: remove symlinks, move core/ to nvkm/ (no code changes)
The symlinks were annoying some people, and they're not used anywhere else in the kernel tree. The include directory structure has been changed so that symlinks aren't needed anymore. NVKM has been moved from core/ to nvkm/ to make it more obvious as to what the directory is for, and as some minor prep for when NVKM gets split out into its own module (virt) at a later date. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/Kbuild')
-rw-r--r--drivers/gpu/drm/nouveau/Kbuild66
1 files changed, 66 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/Kbuild b/drivers/gpu/drm/nouveau/Kbuild
new file mode 100644
index 000000000000..2b765663c1a3
--- /dev/null
+++ b/drivers/gpu/drm/nouveau/Kbuild
@@ -0,0 +1,66 @@
1ccflags-y := -Iinclude/drm
2ccflags-y += -I$(src)/include
3ccflags-y += -I$(src)/include/nvkm
4ccflags-y += -I$(src)/nvkm
5ccflags-y += -I$(src)
6
7# NVKM - HW resource manager
8#- code also used by various userspace tools/tests
9include $(src)/nvif/Kbuild
10nouveau-y := $(nvif-y)
11
12# NVIF - NVKM interface library (NVKM user interface also defined here)
13#- code also used by various userspace tools/tests
14include $(src)/nvkm/Kbuild
15nouveau-y += $(nvkm-y)
16
17# DRM - general
18ifdef CONFIG_X86
19nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
20endif
21nouveau-y += nouveau_agp.o
22nouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o
23nouveau-y += nouveau_drm.o
24nouveau-y += nouveau_hwmon.o
25nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
26nouveau-y += nouveau_nvif.o
27nouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o
28nouveau-y += nouveau_sysfs.o
29nouveau-y += nouveau_usif.o # userspace <-> nvif
30nouveau-y += nouveau_vga.o
31
32# DRM - memory management
33nouveau-y += nouveau_bo.o
34nouveau-y += nouveau_gem.o
35nouveau-y += nouveau_prime.o
36nouveau-y += nouveau_sgdma.o
37nouveau-y += nouveau_ttm.o
38
39# DRM - modesetting
40nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
41nouveau-y += nouveau_connector.o
42nouveau-y += nouveau_display.o
43nouveau-y += nv50_display.o
44nouveau-y += nouveau_dp.o
45nouveau-y += nouveau_fbcon.o
46nouveau-y += nv04_fbcon.o
47nouveau-y += nv50_fbcon.o
48nouveau-y += nvc0_fbcon.o
49
50# DRM - command submission
51nouveau-y += nouveau_abi16.o
52nouveau-y += nouveau_chan.o
53nouveau-y += nouveau_dma.o
54nouveau-y += nouveau_fence.o
55nouveau-y += nv04_fence.o
56nouveau-y += nv10_fence.o
57nouveau-y += nv17_fence.o
58nouveau-y += nv50_fence.o
59nouveau-y += nv84_fence.o
60nouveau-y += nvc0_fence.o
61
62# DRM - prehistoric modesetting (NV04-G7x)
63nouveau-y += nouveau_bios.o
64include $(src)/dispnv04/Kbuild
65
66obj-$(CONFIG_DRM_NOUVEAU) += nouveau.o