Fixes for building in the kernel tree
authorRik Faith <faith@alephnull.com>
Fri, 21 Jul 2000 15:48:24 +0000 (15:48 +0000)
committerRik Faith <faith@alephnull.com>
Fri, 21 Jul 2000 15:48:24 +0000 (15:48 +0000)
linux-core/Makefile.kernel
linux/Makefile.kernel

index 2937898..b19f77c 100644 (file)
@@ -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
index 2937898..b19f77c 100644 (file)
@@ -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