xen/pv-driver-build.patch

10 lines
447 B
Diff

Index: xen-4.0.1-testing/unmodified_drivers/linux-2.6/blkfront/Kbuild
===================================================================
--- xen-4.0.1-testing.orig/unmodified_drivers/linux-2.6/blkfront/Kbuild
+++ xen-4.0.1-testing/unmodified_drivers/linux-2.6/blkfront/Kbuild
@@ -3,3 +3,4 @@ include $(M)/overrides.mk
obj-m += xen-vbd.o
xen-vbd-objs := blkfront.o vbd.o
+xen-vbd-objs += $(patsubst %.c,%.o,$(notdir $(wildcard $(src)/vcd.c)))