Each architecture's sourceset is placed in an hw_arch dictionary, and picked up from there when building the per-emulator static_library. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
7 lines
205 B
Meson
7 lines
205 B
Meson
lm32_ss = ss.source_set()
|
|
# LM32 boards
|
|
lm32_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_boards.c'))
|
|
lm32_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist.c'))
|
|
|
|
hw_arch += {'lm32': lm32_ss}
|