1 riscv_ss = ss.source_set()
2 riscv_ss.add(files('boot.c'), fdt)
3 riscv_ss.add(files('numa.c'))
4 riscv_ss.add(files('riscv_hart.c'))
5 riscv_ss.add(when: 'CONFIG_OPENTITAN', if_true: files('opentitan.c'))
6 riscv_ss.add(when: 'CONFIG_RISCV_VIRT', if_true: files('virt.c'))
7 riscv_ss.add(when: 'CONFIG_SIFIVE_E', if_true: files('sifive_e.c'))
8 riscv_ss.add(when: 'CONFIG_SIFIVE_U', if_true: files('sifive_u.c'))
9 riscv_ss.add(when: 'CONFIG_SPIKE', if_true: files('spike.c'))
10 riscv_ss.add(when: 'CONFIG_MICROCHIP_PFSOC', if_true: files('microchip_pfsoc.c'))
12 hw_arch += {'riscv': riscv_ss}