diff -r f80f1cc7f85e linux-2.6-xen-sparse/drivers/xen/blktap/Makefile --- a/linux-2.6-xen-sparse/drivers/xen/blktap/Makefile Wed Dec 20 09:48:21 2006 +0000 +++ b/linux-2.6-xen-sparse/drivers/xen/blktap/Makefile Thu Dec 28 20:37:08 2006 -0600 @@ -1,3 +1,6 @@ LINUXINCLUDE += -I../xen/include/public/ LINUXINCLUDE += -I../xen/include/public/io -obj-y := xenbus.o interface.o blktap.o +obj-$(CONFIG_XEN_BLKDEV_TAP) := blktp.o + +blktp-y := xenbus.o interface.o blktap.o +