b5dfdb082f
This is only half of the work, because the proxy devices (virtio-*-pci, virtio-*-ccw, etc.) are still included unconditionally. It is still a move in the right direction. Based-on: <20180522194943.24871-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
13 lines
432 B
Makefile
13 lines
432 B
Makefile
ifeq ($(call lor,$(CONFIG_VIRTIO_9P),$(CONFIG_XEN)),y)
|
|
common-obj-y = 9p.o 9p-util.o
|
|
common-obj-y += 9p-local.o 9p-xattr.o
|
|
common-obj-y += 9p-xattr-user.o 9p-posix-acl.o
|
|
common-obj-y += coth.o cofs.o codir.o cofile.o
|
|
common-obj-y += coxattr.o 9p-synth.o
|
|
common-obj-$(CONFIG_OPEN_BY_HANDLE) += 9p-handle.o
|
|
common-obj-y += 9p-proxy.o
|
|
endif
|
|
|
|
common-obj-$(CONFIG_XEN) += xen-9p-backend.o
|
|
obj-$(CONFIG_VIRTIO_9P) += virtio-9p-device.o
|