]> Git Repo - qemu.git/commitdiff
hw/s390x: only build tod-tcg from the CONFIG_TCG build
authorCho, Yu-Chen <[email protected]>
Wed, 7 Jul 2021 10:53:14 +0000 (18:53 +0800)
committerCornelia Huck <[email protected]>
Wed, 7 Jul 2021 12:01:54 +0000 (14:01 +0200)
this will allow in later patches to remove unneeded stubs
in target/s390x.

Signed-off-by: Claudio Fontana <[email protected]>
Signed-off-by: Cho, Yu-Chen <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <20210707105324[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
hw/s390x/meson.build

index 02e81a9467e97439205f5b07413804abb4a6f5ca..28484256ec0b3ce9fd238177fa8115fb91c39ae7 100644 (file)
@@ -16,7 +16,6 @@ s390x_ss.add(files(
   'sclp.c',
   'sclpcpu.c',
   'sclpquiesce.c',
-  'tod-tcg.c',
   'tod.c',
 ))
 s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
@@ -25,6 +24,9 @@ s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
   's390-stattrib-kvm.c',
   'pv.c',
 ))
+s390x_ss.add(when: 'CONFIG_TCG', if_true: files(
+  'tod-tcg.c',
+))
 s390x_ss.add(when: 'CONFIG_S390_CCW_VIRTIO', if_true: files('s390-virtio-ccw.c'))
 s390x_ss.add(when: 'CONFIG_TERMINAL3270', if_true: files('3270-ccw.c'))
 s390x_ss.add(when: 'CONFIG_VFIO', if_true: files('s390-pci-vfio.c'))
This page took 0.029161 seconds and 4 git commands to generate.