aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/avr/meson.build')
-rw-r--r--hw/avr/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/avr/meson.build b/hw/avr/meson.build
new file mode 100644
index 0000000000..46d53fb17e
--- /dev/null
+++ b/hw/avr/meson.build
@@ -0,0 +1,6 @@
+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}