xref: /qemu/hw/mips/meson.build (revision f65f326113ecdfbe4479e9fe607da9f18aec2fd3)
12c44220dSMarc-André Lureaumips_ss = ss.source_set()
23ebbf861SJiaxun Yangmips_ss.add(files('bootloader.c', 'mips_int.c'))
3f2a9c31dSPhilippe Mathieu-Daudécommon_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c'))
4*70bc2031SPhilippe Mathieu-Daudécommon_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c'))
5*70bc2031SPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_virt.c'))
67c032bfbSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_MALTA', if_true: files('malta.c'))
72c44220dSMarc-André Lureaumips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c'))
82c44220dSMarc-André Lureau
9cfc1a889SPaolo Bonziniif 'CONFIG_TCG' in config_all_accel
10db6b6f4dSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_JAZZ', if_true: files('jazz.c'))
11db6b6f4dSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_MIPSSIM', if_true: files('mipssim.c'))
12db6b6f4dSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_FULOONG', if_true: files('fuloong2e.c'))
13727bb5b4SPaolo Bonzinimips_ss.add(when: 'CONFIG_MIPS_BOSTON', if_true: files('boston.c'))
14db6b6f4dSPhilippe Mathieu-Daudéendif
15db6b6f4dSPhilippe Mathieu-Daudé
162c44220dSMarc-André Lureauhw_arch += {'mips': mips_ss}
17