mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
2c44220d05
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
215 B
Meson
7 lines
215 B
Meson
avr_ss = ss.source_set()
|
|
avr_ss.add(files('boot.c'))
|
|
avr_ss.add(when: 'CONFIG_AVR_ATMEGA_MCU', if_true: files('atmega.c'))
|
|
avr_ss.add(when: 'CONFIG_ARDUINO', if_true: files('arduino.c'))
|
|
|
|
hw_arch += {'avr': avr_ss}
|