2014-03-04 03:05:32 +08:00
|
|
|
ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy)
|
|
|
|
# Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
|
|
|
|
# only pull in the actual virtio-9p device if we also enabled virtio.
|
2015-12-01 00:14:29 +08:00
|
|
|
common-obj-y = qemu-fsdev.o 9p-marshal.o 9p-iov-marshal.o
|
2012-05-22 19:46:08 +08:00
|
|
|
else
|
|
|
|
common-obj-y = qemu-fsdev-dummy.o
|
|
|
|
endif
|
2012-11-26 23:03:42 +08:00
|
|
|
common-obj-y += qemu-fsdev-opts.o
|
2013-01-19 18:06:48 +08:00
|
|
|
|
|
|
|
# Toplevel always builds this; targets without virtio will put it in
|
|
|
|
# common-obj-y
|
|
|
|
common-obj-$(CONFIG_ALL) += qemu-fsdev-dummy.o
|