view unmodified_drivers/linux-2.6/balloon/Kbuild @ 18843: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 <>.

Signed-off-by: Jan Beulich <>
author Keir Fraser <>
date Mon Nov 24 11:11:20 2008 +0000 (2008-11-24)
parents 2bbd28891160
line source
1 include $(M)/
3 obj-m = xen-balloon.o
5 EXTRA_CFLAGS += -I$(M)/platform-pci
7 xen-balloon-y := balloon.o sysfs.o
8 xen-balloon-$(CONFIG_XEN_SCRUB_PAGES) += scrub.o