Staging: hv: add the Hyper-V virtual block driver to the build

Add the Hyper-V virtual block driver to the kernel build system.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman 2009-07-14 10:25:53 -07:00
parent 0fce4c2f49
commit 88d3bb31b4
2 changed files with 9 additions and 0 deletions

View File

@ -12,3 +12,10 @@ config HYPERV_STORAGE
default n
help
Select this option to enable the Hyper-V virtual storage driver.
config HYPERV_BLOCK
tristate "Microsoft Hyper-V virtual block driver"
depends on BLOCK
default n
help
Select this option to enable the Hyper-V virtual block driver.

View File

@ -1,5 +1,7 @@
obj-$(CONFIG_HYPERV) += hv_vmbus.o
obj-$(CONFIG_HYPERV_STORAGE) += hv_storvsc.o
obj-$(CONFIG_HYPERV_BLOCK) += hv_blkvsc.o
hv_vmbus-objs := vmbus_drv.o osd.o Sources.o
hv_storvsc-objs := storvsc_drv.o osd.o StorVsc.o
hv_blkvsc-objs := blkvsc_drv.o osd.o BlkVsc.o