1openrisc_ss = ss.source_set() 2openrisc_ss.add(files('cputimer.c')) 3openrisc_ss.add(files('boot.c')) 4openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: [files('openrisc_sim.c'), fdt]) 5openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: [files('virt.c'), fdt]) 6 7hw_arch += {'openrisc': openrisc_ss} 8