summaryrefslogtreecommitdiff
path: root/linux/Makefile.kernel
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-07-21 16:57:00 +0000
committerRik Faith <faith@alephnull.com>2000-07-21 16:57:00 +0000
commit6dd96a15ed329f26565bb971877f03e15801f3f5 (patch)
treece5281124fcdfa73c27d775428c5e7432ec50e2b /linux/Makefile.kernel
parente38b34e54a79919588f23294ddb326309c9cb005 (diff)
Revert some changes and try alternative way to clean up AGP handling.
Diffstat (limited to 'linux/Makefile.kernel')
-rw-r--r--linux/Makefile.kernel9
1 files changed, 6 insertions, 3 deletions
diff --git a/linux/Makefile.kernel b/linux/Makefile.kernel
index b19f77c6..b756c950 100644
--- a/linux/Makefile.kernel
+++ b/linux/Makefile.kernel
@@ -13,12 +13,11 @@
O_TARGET := drm.o
L_OBJS := init.o memory.o proc.o auth.o context.o drawable.o bufs.o \
- lists.o lock.o ioctl.o fops.o vm.o dma.o ctxbitmap.o \
- agpsupport.o
+ lists.o lock.o ioctl.o fops.o vm.o dma.o ctxbitmap.o
M_OBJS :=
-ifdef CONFIG_DRM_AGP
+ifneq ($(CONFIG_AGP),n)
L_OBJS += agpsupport.o
endif
@@ -44,6 +43,7 @@ else
endif
endif
+ifneq ($(CONFIG_AGP),n)
ifeq ($(CONFIG_DRM_MGA),y)
OX_OBJS += mga_drv.o
O_OBJS += mga_context.o mga_dma.o mga_bufs.o mga_state.o
@@ -54,7 +54,9 @@ else
M_OBJS += mga.o
endif
endif
+endif
+ifneq ($(CONFIG_AGP),n)
ifeq ($(CONFIG_DRM_I810),y)
OX_OBJS += i810_drv.o
O_OBJS += i810_context.o i810_bufs.o i810_dma.o
@@ -65,6 +67,7 @@ else
M_OBJS += i810.o
endif
endif
+endif
ifeq ($(CONFIG_DRM_R128),y)
OX_OBJS += r128_drv.o