patch-2.4.6 linux/drivers/pci/Makefile

Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/parport/parport_sunbpp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/pci/Makefile linux/drivers/pci/Makefile
@@ -13,8 +13,12 @@
 
 export-objs := pci.o
 
-obj-$(CONFIG_PCI) += pci.o quirks.o compat.o names.o setup-res.o
+obj-$(CONFIG_PCI) += pci.o quirks.o compat.o names.o
 obj-$(CONFIG_PROC_FS) += proc.o
+
+ifndef CONFIG_SPARC64
+obj-$(CONFIG_PCI) += setup-res.o
+endif
 
 #
 # Some architectures use the generic PCI setup functions

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)