Staging: hv: add the Hyper-V virtual bus to the build
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 13 Jul 2009 23:04:02 +0000 (16:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:44 +0000 (12:01 -0700)
Add the Hyper-V virtual bus 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>
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/hv/Kconfig [new file with mode: 0644]
drivers/staging/hv/Makefile [new file with mode: 0644]

index c1a0ca4c96f4786d1c5e2455195b8be9e0eee8d5..34aa21e1fb3817fc9d7776d9faff548d377aa61e 100644 (file)
@@ -137,5 +137,7 @@ source "drivers/staging/dream/camera/Kconfig"
 
 source "drivers/staging/udlfb/Kconfig"
 
+source "drivers/staging/hv/Kconfig"
+
 endif # !STAGING_EXCLUDE_BUILD
 endif # STAGING
index aa65ed205bb8ea0b08a05ad6bfb90e380bb699be..bc84a0e0a46e5a2ad3c2e3b0084919b7ee0fc3bc 100644 (file)
@@ -50,3 +50,4 @@ obj-$(CONFIG_RDC_17F3101X)    += pata_rdc/
 obj-$(CONFIG_FB_UDL)           += udlfb/
 obj-$(CONFIG_MSM_ADSP)         += dream/qdsp5/ dream/smd/
 obj-$(CONFIG_MSM_CAMERA)       += dream/camera/
+obj-$(CONFIG_HYPERV)           += hv/
diff --git a/drivers/staging/hv/Kconfig b/drivers/staging/hv/Kconfig
new file mode 100644 (file)
index 0000000..40d922b
--- /dev/null
@@ -0,0 +1,8 @@
+config HYPERV
+       tristate "Microsoft Hyper-V client drivers"
+       depends on X86
+       default n
+       help
+         Select this option to run Linux as a Hyper-V client operating
+         system.
+
diff --git a/drivers/staging/hv/Makefile b/drivers/staging/hv/Makefile
new file mode 100644 (file)
index 0000000..9908360
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_HYPERV)           += hv_vmbus.o
+
+hv_vmbus-objs := vmbus_drv.o osd.o Sources.o