aboutsummaryrefslogtreecommitdiff
path: root/hw/display/meson.build
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-04-12 18:35:01 +0200
committerThomas Huth <thuth@redhat.com>2023-04-20 11:25:32 +0200
commit9eb7e7e84af5362b125015e80fdaab96b944f6f2 (patch)
treec279967481ebc4bc940845033a85808bf030ac3a /hw/display/meson.build
parent09637edb84556e08dac10a13e7801918e4666d93 (diff)
downloadqemu-9eb7e7e84af5362b125015e80fdaab96b944f6f2.zip
qemu-9eb7e7e84af5362b125015e80fdaab96b944f6f2.tar.gz
qemu-9eb7e7e84af5362b125015e80fdaab96b944f6f2.tar.bz2
hw/display: Compile vga.c as target-independent code
The target checks here are only during the initialization, so they are not performance critical. We can switch these to runtime checks to avoid that we have to compile this file multiple times during the build, and make the code ready for an universal build one day. Message-Id: <20230412163501.36770-1-thuth@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/display/meson.build')
-rw-r--r--hw/display/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/meson.build b/hw/display/meson.build
index 4191694..17165bd 100644
--- a/hw/display/meson.build
+++ b/hw/display/meson.build
@@ -36,7 +36,7 @@ softmmu_ss.add(when: 'CONFIG_CG3', if_true: files('cg3.c'))
softmmu_ss.add(when: 'CONFIG_MACFB', if_true: files('macfb.c'))
softmmu_ss.add(when: 'CONFIG_NEXTCUBE', if_true: files('next-fb.c'))
-specific_ss.add(when: 'CONFIG_VGA', if_true: files('vga.c'))
+softmmu_ss.add(when: 'CONFIG_VGA', if_true: files('vga.c'))
if (config_all_devices.has_key('CONFIG_VGA_CIRRUS') or
config_all_devices.has_key('CONFIG_VGA_PCI') or