summaryrefslogtreecommitdiff
path: root/drivers/staging/gma500/Makefile
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-07-05 14:41:56 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 15:20:43 (GMT)
commit0bbfa259ac9f678e3f3d1a7eb7f51d14840c6851 (patch)
treea46d828d9b1891606aee8aff601fb5e21451e4d6 /drivers/staging/gma500/Makefile
parent63e21a5bfc97ba2552d7efbb09462b0946af1176 (diff)
downloadlinux-fsl-qoriq-0bbfa259ac9f678e3f3d1a7eb7f51d14840c6851.tar.xz
gma500: begin the config based split
We don't want to carry all the extra gunk around on every device so use the splitting work so far to tidy this up. Poulsbo is still mandatory as it is used in bits by the other drivers and not neatly modularised. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/Makefile')
-rw-r--r--drivers/staging/gma500/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/staging/gma500/Makefile b/drivers/staging/gma500/Makefile
index 0603949..aa60926 100644
--- a/drivers/staging/gma500/Makefile
+++ b/drivers/staging/gma500/Makefile
@@ -22,12 +22,15 @@ psb_gfx-y += gem_glue.o \
psb_mmu.o \
psb_irq.o \
psb_device.o \
- cdv_device.o \
- mid_bios.o \
- mrst_device.o \
+ mid_bios.o
+
+psb_gfx-$(CONFIG_DRM_PSB_CDV) += cdv_device.o
+
+psb_gfx-$(CONFIG_DRM_PSB_MRST) += mrst_device.o \
mrst_crtc.o \
- mrst_lvds.o \
- mdfld_device.o \
+ mrst_lvds.o
+
+psb_gfx-$(CONFIG_DRM_PSB_MFLD) += mdfld_device.o \
mdfld_output.o \
mdfld_pyr_cmd.o \
mdfld_tmd_vid.o \