|
@@ -55,7 +55,12 @@ endif
|
|
if have_user
|
|
if have_user
|
|
# Symbols that are used by hw/core.
|
|
# Symbols that are used by hw/core.
|
|
stub_ss.add(files('cpu-synchronize-state.c'))
|
|
stub_ss.add(files('cpu-synchronize-state.c'))
|
|
- stub_ss.add(files('qdev.c'))
|
|
|
|
|
|
+
|
|
|
|
+ # Stubs for QAPI events. Those can always be included in the build, but
|
|
|
|
+ # they are not built at all for --disable-system --disable-tools builds.
|
|
|
|
+ if not (have_system or have_tools)
|
|
|
|
+ stub_ss.add(files('qdev.c'))
|
|
|
|
+ endif
|
|
endif
|
|
endif
|
|
|
|
|
|
if have_system
|
|
if have_system
|