2
# Makefile for the PCI bus specific drivers.
5
include $(BASEDIR)/Rules.mk
7
OBJS := pci.o quirks.o compat.o names.o setup-res.o
9
#obj-$(CONFIG_PCI) += pci.o quirks.o compat.o names.o
10
#obj-$(CONFIG_PROC_FS) += proc.o
12
#ifndef CONFIG_SPARC64
13
#obj-$(CONFIG_PCI) += setup-res.o
17
# Some architectures use the generic PCI setup functions
19
#obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
20
#obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
21
#obj-$(CONFIG_PARISC) += setup-bus.o
22
#obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
23
#obj-$(CONFIG_ALL_PPC) += setup-bus.o
24
#obj-$(CONFIG_DDB5476) += setup-bus.o
25
#obj-$(CONFIG_SGI_IP27) += setup-irq.o
32
$(LD) -r -o driver.o $(OBJS)
35
rm -f *.o *~ core gen-devlist classlist.h devlist.h
37
names.o: names.c devlist.h classlist.h
39
devlist.h classlist.h: pci.ids gen-devlist
40
./gen-devlist <pci.ids
42
gen-devlist: gen-devlist.c
43
$(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c