blob: f65ade6ba4514fc4ed714889a7edeaac7b39bbac [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
6nouveau-y := nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
7 nouveau_object.o nouveau_irq.o nouveau_notifier.o \
Ben Skeggsd7facf92010-11-03 10:06:43 +10008 nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
Ben Skeggs6ee73862009-12-11 19:24:15 +10009 nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \
10 nouveau_hw.o nouveau_calc.o nouveau_bios.o nouveau_i2c.o \
Ben Skeggs054b93e2009-12-15 22:02:47 +100011 nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
Ben Skeggsa11c3192010-08-27 10:00:25 +100012 nouveau_dp.o nouveau_ramht.o \
Ben Skeggsfade7ad2010-09-27 11:18:14 +100013 nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
Ben Skeggsa11c3192010-08-27 10:00:25 +100014 nouveau_mm.o nouveau_vm.o \
Ben Skeggs6ee73862009-12-11 19:24:15 +100015 nv04_timer.o \
16 nv04_mc.o nv40_mc.o nv50_mc.o \
Ben Skeggs4b223ee2010-08-03 10:00:56 +100017 nv04_fb.o nv10_fb.o nv30_fb.o nv40_fb.o nv50_fb.o nvc0_fb.o \
18 nv04_fifo.o nv10_fifo.o nv40_fifo.o nv50_fifo.o nvc0_fifo.o \
Ben Skeggs6ee73862009-12-11 19:24:15 +100019 nv04_graph.o nv10_graph.o nv20_graph.o \
Ben Skeggs4b223ee2010-08-03 10:00:56 +100020 nv40_graph.o nv50_graph.o nvc0_graph.o \
Ben Skeggs966a5b72010-11-24 10:49:02 +100021 nv40_grctx.o nv50_grctx.o nvc0_grctx.o \
Ben Skeggsbd2e5972010-10-19 20:06:01 +100022 nv84_crypt.o \
Ben Skeggsd5a27372011-04-01 16:10:08 +100023 nva3_copy.o nvc0_copy.o \
Ben Skeggs323dcac2011-06-23 16:21:21 +100024 nv31_mpeg.o nv50_mpeg.o \
Ben Skeggs4b223ee2010-08-03 10:00:56 +100025 nv04_instmem.o nv50_instmem.o nvc0_instmem.o \
Ben Skeggsb7bc6132010-10-19 13:05:51 +100026 nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
Ben Skeggsddbaf792010-11-24 10:52:43 +100027 nv50_cursor.o nv50_display.o \
Ben Skeggs6ee73862009-12-11 19:24:15 +100028 nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
Ben Skeggsddbaf792010-11-24 10:52:43 +100029 nv04_crtc.o nv04_display.o nv04_cursor.o \
30 nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
Ben Skeggsee2e0132010-07-26 09:28:25 +100031 nv10_gpio.o nv50_gpio.o \
Ben Skeggs02c30ca2010-09-16 16:17:35 +100032 nv50_calc.o \
Ben Skeggs354d0782011-06-19 01:44:36 +100033 nv04_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
Ben Skeggs8984e042010-11-15 11:48:33 +100034 nv50_vram.o nvc0_vram.o \
35 nv50_vm.o nvc0_vm.o
Ben Skeggs6ee73862009-12-11 19:24:15 +100036
37nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o
38nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
39nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
40nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
41
42obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o