blob: 8b632934f01d4f499914cf5361b2fa355a28baaf [file] [log] [blame]
Ben Skeggs6ee73862009-12-11 19:24:15 +10001#
2# Makefile for the drm device driver. This driver provides support for the
3# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
4
5ccflags-y := -Iinclude/drm
Ben Skeggs02a841d2012-07-04 23:44:54 +10006ccflags-y += -I$(src)/core/include
7ccflags-y += -I$(src)
8
9nouveau-y := core/core/mm.o
10nouveau-y += core/core/ramht.o
11
12nouveau-y += core/subdev/fb/nv04.o
13nouveau-y += core/subdev/fb/nv10.o
14nouveau-y += core/subdev/fb/nv20.o
15nouveau-y += core/subdev/fb/nv30.o
16nouveau-y += core/subdev/fb/nv40.o
17nouveau-y += core/subdev/fb/nv50.o
18nouveau-y += core/subdev/fb/nvc0.o
19nouveau-y += core/subdev/fb/nv50_vram.o
20nouveau-y += core/subdev/fb/nvc0_vram.o
21nouveau-y += core/subdev/gpio/base.o
22nouveau-y += core/subdev/gpio/nv10.o
23nouveau-y += core/subdev/gpio/nv50.o
24nouveau-y += core/subdev/i2c/base.o
25nouveau-y += core/subdev/instmem/nv04.o
26nouveau-y += core/subdev/instmem/nv50.o
27nouveau-y += core/subdev/instmem/nvc0.o
28nouveau-y += core/subdev/mc/nv04.o
29nouveau-y += core/subdev/mc/nv40.o
30nouveau-y += core/subdev/mc/nv50.o
31nouveau-y += core/subdev/timer/nv04.o
32nouveau-y += core/subdev/vm/base.o
33nouveau-y += core/subdev/vm/nv50.o
34nouveau-y += core/subdev/vm/nvc0.o
35
36nouveau-y += core/engine/bsp/nv84.o
37nouveau-y += core/engine/copy/nva3.o
38nouveau-y += core/engine/copy/nvc0.o
39nouveau-y += core/engine/crypt/nv84.o
40nouveau-y += core/engine/crypt/nv98.o
41nouveau-y += core/engine/fifo/nv04.o
42nouveau-y += core/engine/fifo/nv10.o
43nouveau-y += core/engine/fifo/nv17.o
44nouveau-y += core/engine/fifo/nv40.o
45nouveau-y += core/engine/fifo/nv50.o
46nouveau-y += core/engine/fifo/nv84.o
47nouveau-y += core/engine/fifo/nvc0.o
48nouveau-y += core/engine/fifo/nve0.o
49nouveau-y += core/engine/graph/ctxnv40.o
50nouveau-y += core/engine/graph/ctxnv50.o
51nouveau-y += core/engine/graph/ctxnvc0.o
52nouveau-y += core/engine/graph/ctxnve0.o
53nouveau-y += core/engine/graph/nv04.o
54nouveau-y += core/engine/graph/nv10.o
55nouveau-y += core/engine/graph/nv20.o
56nouveau-y += core/engine/graph/nv40.o
57nouveau-y += core/engine/graph/nv50.o
58nouveau-y += core/engine/graph/nvc0.o
59nouveau-y += core/engine/graph/nve0.o
60nouveau-y += core/engine/mpeg/nv31.o
61nouveau-y += core/engine/mpeg/nv50.o
62nouveau-y += core/engine/ppp/nv98.o
63nouveau-y += core/engine/vp/nv84.o
64
65nouveau-y += nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
Ben Skeggsce22af02012-05-05 22:19:20 +100066 nouveau_gpuobj.o nouveau_irq.o nouveau_notifier.o \
Ben Skeggsd7facf92010-11-03 10:06:43 +100067 nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
Ben Skeggs6ee73862009-12-11 19:24:15 +100068 nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \
Ben Skeggs02a841d2012-07-04 23:44:54 +100069 nouveau_hw.o nouveau_calc.o \
Ben Skeggs054b93e2009-12-15 22:02:47 +100070 nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
Ben Skeggs02a841d2012-07-04 23:44:54 +100071 nouveau_hdmi.o nouveau_dp.o \
Ben Skeggsfade7ad2010-09-27 11:18:14 +100072 nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
Ben Skeggsaa4cc5d22012-07-05 21:36:32 +100073 nouveau_mxm.o nouveau_agp.o \
Ben Skeggs2a259a32012-05-08 10:24:27 +100074 nouveau_abi16.o \
Ben Skeggs02a841d2012-07-04 23:44:54 +100075 nouveau_bios.o \
Ben Skeggs5e120f62012-04-30 13:55:29 +100076 nv04_fence.o nv10_fence.o nv84_fence.o nvc0_fence.o \
Ben Skeggs20abd162012-04-30 11:33:43 -050077 nv04_software.o nv50_software.o nvc0_software.o \
Ben Skeggs6ee73862009-12-11 19:24:15 +100078 nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
Ben Skeggsddbaf792010-11-24 10:52:43 +100079 nv04_crtc.o nv04_display.o nv04_cursor.o \
Ben Skeggs37b034a2011-07-08 14:43:19 +100080 nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
81 nv50_cursor.o nv50_display.o \
Ben Skeggs26f6d882011-07-04 16:25:18 +100082 nvd0_display.o \
Ben Skeggs37b034a2011-07-08 14:43:19 +100083 nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
Ben Skeggs02c30ca2010-09-16 16:17:35 +100084 nv50_calc.o \
Ben Skeggs1262a202011-07-18 15:15:34 +100085 nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
Ben Skeggs02a841d2012-07-04 23:44:54 +100086 nouveau_prime.o
Ben Skeggs6ee73862009-12-11 19:24:15 +100087
88nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o
89nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
90nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
91nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
92
93obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o