ia64/xen-unstable

view linux-2.6-xen-sparse/arch/xen/i386/pci/Makefile @ 6552:a9873d384da4

Merge.
author adsharma@los-vmm.sc.intel.com
date Thu Aug 25 12:24:48 2005 -0700 (2005-08-25)
parents 112d44270733 fa0754a9f64f
children dfaf788ab18c
line source
1 XENARCH := $(subst ",,$(CONFIG_XENARCH))
3 CFLAGS += -Iarch/$(XENARCH)/pci
5 c-obj-y := i386.o
7 c-obj-$(CONFIG_PCI_BIOS) += pcbios.o
8 c-obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o
9 c-obj-$(CONFIG_PCI_DIRECT) += direct.o
11 c-pci-y := fixup.o
12 c-pci-$(CONFIG_ACPI_PCI) += acpi.o
13 c-pci-y += legacy.o
14 # Make sure irq.o gets linked in after legacy.o
15 l-pci-y += irq.o
17 c-pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
18 pci-$(CONFIG_X86_VISWS) :=
19 c-pci-$(CONFIG_X86_NUMAQ) := numa.o
20 l-pci-$(CONFIG_X86_NUMAQ) := irq.o
22 obj-y += $(pci-y)
23 c-obj-y += $(c-pci-y) common.o
25 c-link :=
27 $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-link)):
28 @ln -fsn $(srctree)/arch/i386/pci/$(notdir $@) $@
30 # Make sure irq.o gets linked in before common.o
31 obj-y += $(patsubst common.o,$(l-pci-y) common.o,$(c-obj-y))
33 clean-files += $(patsubst %.o,%.c,$(c-obj-y) $(c-obj-) $(c-link))