blob: 997c43d0490947cd927bb9e1be7a1182776a3d65 [file] [log] [blame]
Dave Airliec0e09202008-05-29 10:09:59 +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
6
Pauli Nieminen7a9f0dd2010-02-01 19:11:15 +02007drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \
Daniel Vetter8f879192010-08-23 22:53:31 +02008 drm_context.o drm_dma.o \
Eric Anholt673a3942008-07-30 12:06:12 -07009 drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
Dave Airliec0e09202008-05-29 10:09:59 +100010 drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
11 drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
Jordan Crousedcdb1672010-05-27 13:40:25 -060012 drm_platform.o drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
Dave Airlie13a81952009-09-07 15:45:33 +100013 drm_crtc.o drm_modes.o drm_edid.o \
Jesse Barnesac2874b2010-07-01 16:47:31 -070014 drm_info.o drm_debugfs.o drm_encoder_slave.o \
Dave Airlieba4420c2010-03-09 10:56:52 +100015 drm_trace_points.o drm_global.o
Dave Airliec0e09202008-05-29 10:09:59 +100016
17drm-$(CONFIG_COMPAT) += drm_ioc32.o
18
Dave Airlieab2c0672009-12-04 10:55:24 +100019drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_i2c_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100020
Dave Airlie6fcefd52009-09-08 11:08:32 +100021obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
Dave Airlie13a81952009-09-07 15:45:33 +100022
Jesse Barnesac2874b2010-07-01 16:47:31 -070023CFLAGS_drm_trace_points.o := -I$(src)
24
Dave Airliec0e09202008-05-29 10:09:59 +100025obj-$(CONFIG_DRM) += drm.o
Jerome Glisse176f6132009-06-22 18:16:13 +020026obj-$(CONFIG_DRM_TTM) += ttm/
Dave Airliec0e09202008-05-29 10:09:59 +100027obj-$(CONFIG_DRM_TDFX) += tdfx/
28obj-$(CONFIG_DRM_R128) += r128/
29obj-$(CONFIG_DRM_RADEON)+= radeon/
30obj-$(CONFIG_DRM_MGA) += mga/
31obj-$(CONFIG_DRM_I810) += i810/
32obj-$(CONFIG_DRM_I830) += i830/
33obj-$(CONFIG_DRM_I915) += i915/
34obj-$(CONFIG_DRM_SIS) += sis/
35obj-$(CONFIG_DRM_SAVAGE)+= savage/
Jakob Bornecrantzfb1d9732009-12-10 00:19:58 +000036obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
Dave Airliec0e09202008-05-29 10:09:59 +100037obj-$(CONFIG_DRM_VIA) +=via/
Ben Skeggs6ee73862009-12-11 19:24:15 +100038obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
39obj-y += i2c/