From: Philippe Mathieu-Daudé Date: Mon, 30 Sep 2024 07:00:15 +0000 (+0200) Subject: hw/mips: Build fw_cfg.c once X-Git-Tag: v9.2.0-rc0~62^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2a9c31dbba2976796c0391dc7426238e798c644;p=thirdparty%2Fqemu.git hw/mips: Build fw_cfg.c once Nothing in fw_cfg.c requires target-specific knowledge, build it once for the 4 MIPS variants. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- diff --git a/hw/mips/meson.build b/hw/mips/meson.build index ca37c42d900..fcbee53bb32 100644 --- a/hw/mips/meson.build +++ b/hw/mips/meson.build @@ -1,6 +1,6 @@ mips_ss = ss.source_set() mips_ss.add(files('bootloader.c', 'mips_int.c')) -mips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c')) +common_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c')) mips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c', 'loongson3_virt.c')) mips_ss.add(when: 'CONFIG_MALTA', if_true: files('malta.c')) mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c'))