annotate drivers/xen/blkback/Makefile @ 894:4e5cd2fc45a7

linux: fix blkback/blktap2 interaction

blkback's page map code needs to be accessible to both blkback and
blktap2, irrespective of whether either or both are modules. The
most immediate solution is to break it out into a separate, library-
like component that doesn't need building if either of the two
consumers is configured off, and that gets built as a module if both
consumers are modules.

Also fix the dummy implementation of blkback_pagemap_read(), since
using BUG() there doesn't compile.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 04 10:33:52 2009 +0100 (2009-06-04)
parents eba6fe6d8d53
rev   line source
ian@26 1 obj-$(CONFIG_XEN_BLKDEV_BACKEND) := blkbk.o
keir@894 2 obj-$(CONFIG_XEN_BLKBACK_PAGEMAP) += blkback-pagemap.o
ian@26 3
keir@894 4 blkbk-y := blkback.o xenbus.o interface.o vbd.o