summaryrefslogtreecommitdiff
path: root/linux-core/Makefile.kernel
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-07-21 15:48:24 +0000
committerRik Faith <faith@alephnull.com>2000-07-21 15:48:24 +0000
commite38b34e54a79919588f23294ddb326309c9cb005 (patch)
tree1489b45b7a6b8afe0dd92ee02fde840281d1f548 /linux-core/Makefile.kernel
parent81da79d1ed038ff8968abcf1cde3362035603861 (diff)
Fixes for building in the kernel tree
Diffstat (limited to 'linux-core/Makefile.kernel')
-rw-r--r--linux-core/Makefile.kernel6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-core/Makefile.kernel b/linux-core/Makefile.kernel
index 2937898f..b19f77c6 100644
--- a/linux-core/Makefile.kernel
+++ b/linux-core/Makefile.kernel
@@ -16,7 +16,11 @@ 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
-M_OBJS :=
+M_OBJS :=
+
+ifdef CONFIG_DRM_AGP
+ L_OBJS += agpsupport.o
+endif
ifeq ($(CONFIG_DRM_GAMMA),y)
OX_OBJS += gamma_drv.o