mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Asias He](/assets/img/avatar_default.png)
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>
8 lines
194 B
Makefile
8 lines
194 B
Makefile
obj-$(CONFIG_VHOST_NET) += vhost_net.o
|
|
vhost_net-y := net.o
|
|
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o
|
|
vhost_scsi-y := scsi.o
|
|
|
|
obj-$(CONFIG_VHOST_RING) += vringh.o
|
|
obj-$(CONFIG_VHOST) += vhost.o
|