2019-08-17 11:55:58 +02:00
|
|
|
riscv_ss = ss.source_set()
|
2020-09-01 12:15:41 +02:00
|
|
|
riscv_ss.add(files('boot.c'), fdt)
|
2020-05-29 09:56:22 +02:00
|
|
|
riscv_ss.add(files('numa.c'))
|
2020-09-03 12:40:21 +02:00
|
|
|
riscv_ss.add(files('riscv_hart.c'))
|
2019-08-17 11:55:58 +02:00
|
|
|
riscv_ss.add(when: 'CONFIG_OPENTITAN', if_true: files('opentitan.c'))
|
|
|
|
riscv_ss.add(when: 'CONFIG_RISCV_VIRT', if_true: files('virt.c'))
|
|
|
|
riscv_ss.add(when: 'CONFIG_SIFIVE_E', if_true: files('sifive_e.c'))
|
|
|
|
riscv_ss.add(when: 'CONFIG_SIFIVE_U', if_true: files('sifive_u.c'))
|
|
|
|
riscv_ss.add(when: 'CONFIG_SPIKE', if_true: files('spike.c'))
|
2020-09-01 03:38:59 +02:00
|
|
|
riscv_ss.add(when: 'CONFIG_MICROCHIP_PFSOC', if_true: files('microchip_pfsoc.c'))
|
2019-08-17 11:55:58 +02:00
|
|
|
|
|
|
|
hw_arch += {'riscv': riscv_ss}
|