summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/Makefile
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-08 11:09:50 +1000
committerDave Airlie <airlied@redhat.com>2009-09-08 11:15:59 +1000
commita0cdc6495bdd0ea12390b9edaf13c8cb653df109 (patch)
treec9f77662adab2cb11b0b5bd801827e00eeeb7856 /drivers/gpu/drm/radeon/Makefile
parent6fcefd56f5060ca99ab03c9f2ad1f17c3a543ca1 (diff)
downloadlinux-stable-a0cdc6495bdd0ea12390b9edaf13c8cb653df109.tar.gz
linux-stable-a0cdc6495bdd0ea12390b9edaf13c8cb653df109.tar.bz2
linux-stable-a0cdc6495bdd0ea12390b9edaf13c8cb653df109.zip
drm/kms/radeon: make kms default a runtime option
This makes the kms/enable disable a runtime not a build time option. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/Makefile')
-rw-r--r--drivers/gpu/drm/radeon/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile
index 14c3fe692723..09a28923f46e 100644
--- a/drivers/gpu/drm/radeon/Makefile
+++ b/drivers/gpu/drm/radeon/Makefile
@@ -3,8 +3,6 @@
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
ccflags-y := -Iinclude/drm
-radeon-y := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o \
- radeon_irq.o r300_cmdbuf.o r600_cp.o
hostprogs-y := mkregtable
@@ -39,7 +37,10 @@ $(obj)/r300.o: $(obj)/r300_reg_safe.h
$(obj)/rs600.o: $(obj)/rs600_reg_safe.h
-radeon-$(CONFIG_DRM_RADEON_KMS) += radeon_device.o radeon_kms.o \
+radeon-y := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o \
+ radeon_irq.o r300_cmdbuf.o r600_cp.o
+# add KMS driver
+radeon-y += radeon_device.o radeon_kms.o \
radeon_atombios.o radeon_agp.o atombios_crtc.o radeon_combios.o \
atom.o radeon_fence.o radeon_ttm.o radeon_object.o radeon_gart.o \
radeon_legacy_crtc.o radeon_legacy_encoders.o radeon_connectors.o \