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 \ |
James Hogan | dff98e5 | 2012-11-23 11:12:10 +0000 | [diff] [blame] | 11 | drm_agpsupport.o drm_scatter.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 |
Sascha Hauer | b9d4745 | 2012-06-27 15:30:18 +0200 | [diff] [blame] | 18 | drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o |
James Hogan | dff98e5 | 2012-11-23 11:12:10 +0000 | [diff] [blame] | 19 | drm-$(CONFIG_PCI) += ati_pcigart.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 20 | |
Dave Airlie | 9c1dfc5 | 2012-03-20 06:59:29 +0000 | [diff] [blame] | 21 | drm-usb-y := drm_usb.o |
| 22 | |
Daniel Vetter | 00ae9a4 | 2012-10-18 10:15:23 +0200 | [diff] [blame] | 23 | drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_helper.o |
Carsten Emde | da0df92 | 2012-03-18 22:37:33 +0100 | [diff] [blame] | 24 | drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 25 | drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 26 | |
Dave Airlie | 6fcefd5 | 2009-09-08 11:08:32 +1000 | [diff] [blame] | 27 | obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 28 | |
Jesse Barnes | ac2874b | 2010-07-01 16:47:31 -0700 | [diff] [blame] | 29 | CFLAGS_drm_trace_points.o := -I$(src) |
| 30 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 31 | obj-$(CONFIG_DRM) += drm.o |
Dave Airlie | 9c1dfc5 | 2012-03-20 06:59:29 +0000 | [diff] [blame] | 32 | obj-$(CONFIG_DRM_USB) += drm_usb.o |
Jerome Glisse | 176f613 | 2009-06-22 18:16:13 +0200 | [diff] [blame] | 33 | obj-$(CONFIG_DRM_TTM) += ttm/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 34 | obj-$(CONFIG_DRM_TDFX) += tdfx/ |
| 35 | obj-$(CONFIG_DRM_R128) += r128/ |
| 36 | obj-$(CONFIG_DRM_RADEON)+= radeon/ |
| 37 | obj-$(CONFIG_DRM_MGA) += mga/ |
| 38 | obj-$(CONFIG_DRM_I810) += i810/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 39 | obj-$(CONFIG_DRM_I915) += i915/ |
Dave Airlie | 414c453 | 2012-04-17 15:01:25 +0100 | [diff] [blame] | 40 | obj-$(CONFIG_DRM_MGAG200) += mgag200/ |
Dave Airlie | f9aa76a | 2012-04-17 14:12:29 +0100 | [diff] [blame] | 41 | obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 42 | obj-$(CONFIG_DRM_SIS) += sis/ |
| 43 | obj-$(CONFIG_DRM_SAVAGE)+= savage/ |
Jakob Bornecrantz | fb1d973 | 2009-12-10 00:19:58 +0000 | [diff] [blame] | 44 | obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 45 | obj-$(CONFIG_DRM_VIA) +=via/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 46 | obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 47 | obj-$(CONFIG_DRM_EXYNOS) +=exynos/ |
Alan Cox | 91c7549 | 2011-11-03 18:22:48 +0000 | [diff] [blame] | 48 | obj-$(CONFIG_DRM_GMA500) += gma500/ |
Dave Airlie | 5320918 | 2010-12-15 07:14:24 +1000 | [diff] [blame] | 49 | obj-$(CONFIG_DRM_UDL) += udl/ |
Dave Airlie | 312fec1 | 2012-02-29 13:40:04 +0000 | [diff] [blame] | 50 | obj-$(CONFIG_DRM_AST) += ast/ |
Laurent Pinchart | 51c1327 | 2012-04-26 13:53:59 +0200 | [diff] [blame] | 51 | obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/ |
Thierry Reding | d8f4a9e | 2012-11-15 21:28:22 +0000 | [diff] [blame] | 52 | obj-$(CONFIG_DRM_TEGRA) += tegra/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 53 | obj-y += i2c/ |