aboutsummaryrefslogtreecommitdiffstats
path: root/xen-2.4.16/drivers/pci/Makefile
blob: 36972aba4dc6a4f7f088f9bc1e4becf8bbb3011e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Makefile for the PCI bus specific drivers.
#

include $(BASEDIR)/Rules.mk

OBJS := 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
#
#obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
#obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
#obj-$(CONFIG_PARISC) += setup-bus.o
#obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
#obj-$(CONFIG_ALL_PPC) += setup-bus.o
#obj-$(CONFIG_DDB5476) += setup-bus.o
#obj-$(CONFIG_SGI_IP27) += setup-irq.o

#ifndef CONFIG_X86
#obj-y += syscall.o
#endif

default: $(OBJS)
	$(LD) -r -o driver.o $(OBJS)

clean:
	rm -f *.o *~ core gen-devlist classlist.h devlist.h

names.o: names.c devlist.h classlist.h

devlist.h classlist.h: pci.ids gen-devlist
	./gen-devlist <pci.ids

gen-devlist: gen-devlist.c
	$(CC) $(CFLAGS) -o gen-devlist gen-devlist.c