ia64/xen-unstable

view linux-2.6-xen-sparse/arch/xen/x86_64/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 #
2 # Makefile for X86_64 specific PCI routines
3 #
4 # Reuse the i386 PCI subsystem
5 #
6 XENARCH := $(subst ",,$(CONFIG_XENARCH))
7 CFLAGS += -Iarch/$(XENARCH)/pci
9 CFLAGS += -Iarch/i386/pci
11 c-i386-obj-y := i386.o
12 c-i386-obj-y += fixup.o
13 c-i386-obj-$(CONFIG_ACPI_PCI) += acpi.o
14 c-i386-obj-y += legacy.o common.o
15 c-i386-obj-$(CONFIG_PCI_DIRECT)+= direct.o
16 c-xen-obj-y += irq.o
17 # mmconfig has a 64bit special
18 c-obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o
20 c-obj-$(CONFIG_NUMA) += k8-bus.o
22 c-link :=
24 $(patsubst %.o,$(obj)/%.c,$(c-xen-obj-y)):
25 @ln -fsn $(srctree)/arch/xen/i386/pci/$(notdir $@) $@
27 $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-link)):
28 @ln -fsn $(srctree)/arch/x86_64/pci/$(notdir $@) $@
30 $(patsubst %.o,$(obj)/%.c,$(c-i386-obj-y)):
31 @ln -fsn $(srctree)/arch/i386/pci/$(notdir $@) $@
33 # Make sure irq.o gets linked in before common.o
34 obj-y += $(patsubst common.o,$(c-xen-obj-y) common.o,$(c-i386-obj-y))
35 obj-y += $(c-obj-y)
37 clean-files += $(patsubst %.o,%.c,$(c-obj-y) $(c-obj-) $(c-link))
38 clean-files += $(patsubst %.o,%.c,$(c-i386-obj-y) $(c-i386-obj-))
39 clean-files += $(patsubst %.o,%.c,$(c-xen-obj-y) $(c-xen-obj-))