X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=drivers%2Fs390%2Fvirtio%2FMakefile;h=df40692a9011ceb2cb2481af2eaa58a9ff92136e;hb=09cb5b78af52208afb9f1b194c8a9154df4a4782;hp=241891a57caf8e97637d3e6c2ce6baecd021589a;hpb=8f697e574012cc73b6b0dcbf30d88a3a0f43b78f;p=linux-2.6-block.git 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)