mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
6ac1afbf61
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>
9 lines
194 B
Makefile
9 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
|