aboutsummaryrefslogtreecommitdiff
path: root/hw/nubus/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-01-24 12:50:57 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:25 -0400
commitb908c370f73192d95f13145148c4bafe39d1171c (patch)
treee2cbde33198dd127cb840651279b3d6d9f762535 /hw/nubus/meson.build
parent56d996c50ae5df3e8aa52d1abbb00eec9c00e786 (diff)
meson: convert hw/nubus
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/nubus/meson.build')
-rw-r--r--hw/nubus/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/nubus/meson.build b/hw/nubus/meson.build
new file mode 100644
index 0000000000..9287c633aa
--- /dev/null
+++ b/hw/nubus/meson.build
@@ -0,0 +1,7 @@
+nubus_ss = ss.source_set()
+nubus_ss.add(files('nubus-device.c'))
+nubus_ss.add(files('nubus-bus.c'))
+nubus_ss.add(files('nubus-bridge.c'))
+nubus_ss.add(when: 'CONFIG_Q800', if_true: files('mac-nubus-bridge.c'))
+
+softmmu_ss.add_all(when: 'CONFIG_NUBUS', if_true: nubus_ss)