2014-03-03 20:05:32 +01: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-11-30 17:14:29 +01:00
|
|
|
common-obj-y = qemu-fsdev.o 9p-marshal.o 9p-iov-marshal.o
|
2012-05-22 13:46:08 +02:00
|
|
|
else
|
|
|
|
common-obj-y = qemu-fsdev-dummy.o
|
|
|
|
endif
|
2012-11-26 16:03:42 +01:00
|
|
|
common-obj-y += qemu-fsdev-opts.o
|
2013-01-19 11:06:48 +01:00
|
|
|
|
|
|
|
# Toplevel always builds this; targets without virtio will put it in
|
|
|
|
# common-obj-y
|
|
|
|
common-obj-$(CONFIG_ALL) += qemu-fsdev-dummy.o
|