2 # Makefile for the PCI bus specific drivers.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definition is now inherited from the
16 obj-$(CONFIG_PCI) += pci.o quirks.o compat.o names.o
17 obj-$(CONFIG_PROC_FS) += proc.o
20 obj-$(CONFIG_PCI) += setup-res.o
24 # Some architectures use the generic PCI setup functions
26 obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
27 obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
28 obj-$(CONFIG_PARISC) += setup-bus.o
29 obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
30 obj-$(CONFIG_PPC32) += setup-irq.o
31 obj-$(CONFIG_SGI_IP27) += setup-irq.o
37 include $(TOPDIR)/Rules.make
39 names.o: names.c devlist.h classlist.h
41 devlist.h classlist.h: pci.ids gen-devlist
42 ./gen-devlist <pci.ids
44 gen-devlist: gen-devlist.c
45 $(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c