patch-2.1.82 linux/drivers/pci/Makefile

Next file: linux/drivers/pci/oldproc.c
Previous file: linux/drivers/net/tulip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/drivers/pci/Makefile linux/drivers/pci/Makefile
@@ -12,7 +12,14 @@
 L_OBJS   := pci.o
 L_TARGET := pci.a
 
-ifeq ($(CONFIG_PCI_OPTIMIZE),y)
+ifdef CONFIG_PROC_FS
+L_OBJS   += proc.o
+ifdef CONFIG_PCI_OLD_PROC
+L_OBJS   += oldproc.o
+endif
+endif
+
+ifdef CONFIG_PCI_OPTIMIZE
 L_OBJS   += quirks.o
 endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov