diff options
author | Asias He <asias@redhat.com> | 2013-05-06 04:38:21 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-07-07 10:33:44 -0400 |
commit | 6ac1afbf6132df0fcb0898f3509371305af7de16 (patch) | |
tree | 78a3115a6e6f5533779806c5b13c040a1f7b1735 /drivers/vhost/Makefile | |
parent | 3c63f66a0dcdd6cb8bcacf210181f2b3baed19be (diff) |
vhost: Make vhost a separate module
Currently, vhost-net and vhost-scsi are sharing the vhost core code.
However, vhost-scsi shares the code by including the vhost.c file
directly.
Making vhost a separate module makes it is easier to share code with
other vhost devices.
Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/Makefile')
-rw-r--r-- | drivers/vhost/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vhost/Makefile b/drivers/vhost/Makefile index 654e9afb11f5..e0441c34db1c 100644 --- a/drivers/vhost/Makefile +++ b/drivers/vhost/Makefile | |||
@@ -1,7 +1,8 @@ | |||
1 | obj-$(CONFIG_VHOST_NET) += vhost_net.o | 1 | obj-$(CONFIG_VHOST_NET) += vhost_net.o |
2 | vhost_net-y := vhost.o net.o | 2 | vhost_net-y := net.o |
3 | 3 | ||
4 | obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o | 4 | obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o |
5 | vhost_scsi-y := scsi.o | 5 | vhost_scsi-y := scsi.o |
6 | 6 | ||
7 | obj-$(CONFIG_VHOST_RING) += vringh.o | 7 | obj-$(CONFIG_VHOST_RING) += vringh.o |
8 | obj-$(CONFIG_VHOST) += vhost.o | ||