xref: /openbmc/qemu/hw/mips/meson.build (revision 727bb5b4)
12c44220dSMarc-André Lureaumips_ss = ss.source_set()
23ebbf861SJiaxun Yangmips_ss.add(files('bootloader.c', 'mips_int.c'))
3313d1e91SHuacai Chenmips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c'))
4c76b409fSHuacai Chenmips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c', 'loongson3_virt.c'))
57c032bfbSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_MALTA', if_true: files('malta.c'))
62c44220dSMarc-André Lureaumips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c'))
72c44220dSMarc-André Lureau
8cfc1a889SPaolo Bonziniif 'CONFIG_TCG' in config_all_accel
9db6b6f4dSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_JAZZ', if_true: files('jazz.c'))
10db6b6f4dSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_MIPSSIM', if_true: files('mipssim.c'))
11db6b6f4dSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_FULOONG', if_true: files('fuloong2e.c'))
12*727bb5b4SPaolo Bonzinimips_ss.add(when: 'CONFIG_MIPS_BOSTON', if_true: files('boston.c'))
13db6b6f4dSPhilippe Mathieu-Daudéendif
14db6b6f4dSPhilippe Mathieu-Daudé
152c44220dSMarc-André Lureauhw_arch += {'mips': mips_ss}
16