Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 1 | # |
| 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 | |
| 5 | ccflags-y := -Iinclude/drm |
| 6 | |
Pauli Nieminen | 7a9f0dd | 2010-02-01 19:11:15 +0200 | [diff] [blame] | 7 | drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \ |
Daniel Vetter | 8f87919 | 2010-08-23 22:53:31 +0200 | [diff] [blame] | 8 | drm_context.o drm_dma.o \ |
Eric Anholt | 673a394 | 2008-07-30 12:06:12 -0700 | [diff] [blame] | 9 | drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 10 | 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 \ |
Daniel Vetter | 7a6e0da | 2011-10-25 23:19:27 +0200 | [diff] [blame] | 12 | drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \ |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 13 | drm_crtc.o drm_modes.o drm_edid.o \ |
Jesse Barnes | ac2874b | 2010-07-01 16:47:31 -0700 | [diff] [blame] | 14 | drm_info.o drm_debugfs.o drm_encoder_slave.o \ |
Dave Airlie | 3248877 | 2011-11-25 15:21:02 +0000 | [diff] [blame] | 15 | drm_trace_points.o drm_global.o drm_prime.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 16 | |
| 17 | drm-$(CONFIG_COMPAT) += drm_ioc32.o |
| 18 | |
Dave Airlie | 9c1dfc5 | 2012-03-20 06:59:29 +0000 | [diff] [blame] | 19 | drm-usb-y := drm_usb.o |
| 20 | |
Dave Airlie | ab2c067 | 2009-12-04 10:55:24 +1000 | [diff] [blame] | 21 | drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_i2c_helper.o |
Carsten Emde | da0df92 | 2012-03-18 22:37:33 +0100 | [diff] [blame] | 22 | drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 23 | |
Dave Airlie | 6fcefd5 | 2009-09-08 11:08:32 +1000 | [diff] [blame] | 24 | obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 25 | |
Jesse Barnes | ac2874b | 2010-07-01 16:47:31 -0700 | [diff] [blame] | 26 | CFLAGS_drm_trace_points.o := -I$(src) |
| 27 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 28 | obj-$(CONFIG_DRM) += drm.o |
Dave Airlie | 9c1dfc5 | 2012-03-20 06:59:29 +0000 | [diff] [blame] | 29 | obj-$(CONFIG_DRM_USB) += drm_usb.o |
Jerome Glisse | 176f613 | 2009-06-22 18:16:13 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_DRM_TTM) += ttm/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 31 | obj-$(CONFIG_DRM_TDFX) += tdfx/ |
| 32 | obj-$(CONFIG_DRM_R128) += r128/ |
| 33 | obj-$(CONFIG_DRM_RADEON)+= radeon/ |
| 34 | obj-$(CONFIG_DRM_MGA) += mga/ |
| 35 | obj-$(CONFIG_DRM_I810) += i810/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 36 | obj-$(CONFIG_DRM_I915) += i915/ |
| 37 | obj-$(CONFIG_DRM_SIS) += sis/ |
| 38 | obj-$(CONFIG_DRM_SAVAGE)+= savage/ |
Jakob Bornecrantz | fb1d973 | 2009-12-10 00:19:58 +0000 | [diff] [blame] | 39 | obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 40 | obj-$(CONFIG_DRM_VIA) +=via/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 41 | obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_DRM_EXYNOS) +=exynos/ |
Alan Cox | 91c7549 | 2011-11-03 18:22:48 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_DRM_GMA500) += gma500/ |
Dave Airlie | 5320918 | 2010-12-15 07:14:24 +1000 | [diff] [blame] | 44 | obj-$(CONFIG_DRM_UDL) += udl/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 45 | obj-y += i2c/ |