ia64/xen-unstable

view unmodified_drivers/linux-2.6/platform-pci/Kbuild @ 18824:0b8c6c91c5a4

pv-on-hvm drivers: build fixes for Linux 2.6.27+

Make the drivers build properly in a 2.6.27 environment as well as
against a kernel with pv-ops Xen configured on (in the latter case
more work would be needed to also make the drivers work, as there's a
large number of duplicate exports).

Portions from Charles Arnold <carnold@novell.com>.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Nov 24 11:11:20 2008 +0000 (2008-11-24)
parents 9e9ba5185ef1
children
line source
1 include $(M)/overrides.mk
3 obj-m := xen-platform-pci.o
5 EXTRA_CFLAGS += -I$(M)/platform-pci
7 xen-platform-pci-objs := evtchn.o platform-pci.o gnttab.o xen_support.o
8 xen-platform-pci-objs += features.o platform-compat.o
9 xen-platform-pci-objs += reboot.o machine_reboot.o
10 xen-platform-pci-objs += panic-handler.o
12 xen-platform-pci-objs += ../xenbus/xenbus_comms.o
13 xen-platform-pci-objs += ../xenbus/xenbus_xs.o
14 xen-platform-pci-objs += ../xenbus/xenbus_probe.o
15 xen-platform-pci-objs += ../xenbus/xenbus_dev.o
16 xen-platform-pci-objs += ../xenbus/xenbus_client.o
17 xen-platform-pci-objs += ../xenbus/xen_proc.o
19 # Can we do better ?
20 ifeq ($(ARCH),ia64)
21 xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o xcom_asm.o
22 endif