summaryrefslogtreecommitdiff
path: root/linux/Makefile.kernel
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2000-09-27 03:34:14 +0000
committerKevin E Martin <kem@kem.org>2000-09-27 03:34:14 +0000
commit8648348667d15a26529dbc64dcf52f98fc62c63a (patch)
tree56c9551949d929407ac22775bbb9554c921bce50 /linux/Makefile.kernel
parentfd16ba90df89239db9c2b2bec3b3a45542298261 (diff)
- Added initial Radeon kernel driver (not yet functional)
Diffstat (limited to 'linux/Makefile.kernel')
-rw-r--r--linux/Makefile.kernel34
1 files changed, 21 insertions, 13 deletions
diff --git a/linux/Makefile.kernel b/linux/Makefile.kernel
index b1b8d976..4aa3fef1 100644
--- a/linux/Makefile.kernel
+++ b/linux/Makefile.kernel
@@ -6,7 +6,7 @@
# drm.o is a fake target -- it is never built
# The real targets are in the module-list
O_TARGET := drm.o
-module-list := gamma.o tdfx.o r128.o ffb.o mga.o i810.o
+module-list := gamma.o tdfx.o r128.o radeon.o ffb.o mga.o i810.o
export-objs := $(patsubst %.o,%_drv.o,$(module-list))
# libs-objs are included in every module so that radical changes to the
@@ -36,18 +36,23 @@ else
endif
endif
-gamma-objs := $(lib-objs) gamma_drv.o gamma_dma.o
-tdfx-objs := $(lib-objs) tdfx_drv.o tdfx_context.o
-r128-objs := $(lib-objs) r128_drv.o r128_dma.o r128_context.o r128_bufs.o
-ffb-objs := $(lib-objs) ffb_drv.o ffb_context.o
-mga-objs := $(lib-objs) mga_drv.o mga_dma.o mga_context.o mga_bufs.o \
- mga_state.o
-i810-objs := $(lib-objs) i810_drv.o i810_dma.o i810_context.o i810_bufs.o
-
-obj-$(CONFIG_DRM_GAMMA) += gamma.o $(gamma-objs)
-obj-$(CONFIG_DRM_TDFX) += tdfx.o $(tdfx-objs)
-obj-$(CONFIG_DRM_R128) += r128.o $(r128-objs)
-obj-$(CONFIG_DRM_FFB) += ffb.o $(ffb-objs)
+gamma-objs := $(lib-objs) gamma_drv.o gamma_dma.o
+tdfx-objs := $(lib-objs) tdfx_drv.o tdfx_context.o
+r128-objs := $(lib-objs) r128_drv.o r128_dma.o r128_context.o \
+ r128_bufs.o
+radeon-objs := $(lib-objs) radeon_drv.o radeon_dma.o radeon_context.o \
+ radeon_bufs.o
+ffb-objs := $(lib-objs) ffb_drv.o ffb_context.o
+mga-objs := $(lib-objs) mga_drv.o mga_dma.o mga_context.o \
+ mga_bufs.o mga_state.o
+i810-objs := $(lib-objs) i810_drv.o i810_dma.o i810_context.o \
+ i810_bufs.o
+
+obj-$(CONFIG_DRM_GAMMA) += gamma.o $(gamma-objs)
+obj-$(CONFIG_DRM_TDFX) += tdfx.o $(tdfx-objs)
+obj-$(CONFIG_DRM_R128) += r128.o $(r128-objs)
+obj-$(CONFIG_DRM_RADEON) += radeon.o $(radeon-objs)
+obj-$(CONFIG_DRM_FFB) += ffb.o $(ffb-objs)
ifneq ($CONFIG_AGP),)
obj-$(CONFIG_DRM_MGA) += mga.o $(mga-objs)
@@ -84,5 +89,8 @@ i810.o: $(i810-objs)
r128.o: $(r128-objs)
$(LD) -r -o $@ $(r128-objs)
+radeon.o: $(radeon-objs)
+ $(LD) -r -o $@ $(radeon-objs)
+
ffb.o: $(ffb-objs)
$(LD) -r -o $@ $(ffb-objs)