summaryrefslogtreecommitdiffstats
path: root/drivers/s390/virtio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/virtio/Makefile')
-rw-r--r--drivers/s390/virtio/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/s390/virtio/Makefile b/drivers/s390/virtio/Makefile
index 241891a57caf..df40692a9011 100644
--- a/drivers/s390/virtio/Makefile
+++ b/drivers/s390/virtio/Makefile
@@ -6,4 +6,8 @@
# it under the terms of the GNU General Public License (version 2 only)
# as published by the Free Software Foundation.
-obj-$(CONFIG_S390_GUEST) += kvm_virtio.o virtio_ccw.o
+s390-virtio-objs := virtio_ccw.o
+ifdef CONFIG_S390_GUEST_OLD_TRANSPORT
+s390-virtio-objs += kvm_virtio.o
+endif
+obj-$(CONFIG_S390_GUEST) += $(s390-virtio-objs)
OpenPOWER on IntegriCloud