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