2019-08-17 13:55:58 +04:00
|
|
|
mips_ss = ss.source_set()
|
2020-12-06 20:29:00 +01:00
|
|
|
mips_ss.add(files('mips_int.c'))
|
2020-09-22 10:49:25 +08:00
|
|
|
mips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c'))
|
2019-08-17 13:55:58 +04:00
|
|
|
mips_ss.add(when: 'CONFIG_FULOONG', if_true: files('fuloong2e.c'))
|
2020-10-16 14:51:58 +08:00
|
|
|
mips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c'))
|
2019-08-17 13:55:58 +04: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 06:15:41 -04:00
|
|
|
mips_ss.add(when: 'CONFIG_MIPS_BOSTON', if_true: [files('boston.c'), fdt])
|
2019-08-17 13:55:58 +04:00
|
|
|
mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c'))
|
|
|
|
|
|
|
|
hw_arch += {'mips': mips_ss}
|