2019-08-17 12:55:58 +03:00
|
|
|
mips_ss = ss.source_set()
|
2020-12-06 22:29:00 +03:00
|
|
|
mips_ss.add(files('mips_int.c'))
|
2020-09-22 05:49:25 +03:00
|
|
|
mips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c'))
|
2019-08-17 12:55:58 +03:00
|
|
|
mips_ss.add(when: 'CONFIG_FULOONG', if_true: files('fuloong2e.c'))
|
2020-10-16 09:51:58 +03:00
|
|
|
mips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c'))
|
2019-08-17 12:55:58 +03:00
|
|
|
mips_ss.add(when: 'CONFIG_JAZZ', if_true: files('jazz.c'))
|
|
|
|
mips_ss.add(when: 'CONFIG_MALTA', if_true: files('gt64xxx_pci.c', 'malta.c'))
|
|
|
|
mips_ss.add(when: 'CONFIG_MIPSSIM', if_true: files('mipssim.c'))
|
2020-09-01 13:15:41 +03:00
|
|
|
mips_ss.add(when: 'CONFIG_MIPS_BOSTON', if_true: [files('boston.c'), fdt])
|
2019-08-17 12:55:58 +03:00
|
|
|
mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c'))
|
|
|
|
|
|
|
|
hw_arch += {'mips': mips_ss}
|