qemu/hw/avr/meson.build
Marc-André Lureau 2c44220d05 meson: convert hw/arch*
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>
2020-08-21 06:30:33 -04:00

6 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}