@@ -73,7 +73,6 @@ endif
# Target-independent parts used in system and user emulation
common-obj-y += hw/
-common-obj-y += qom/
common-obj-y += disas/
######################################################################
deleted file mode 100644
@@ -1 +0,0 @@
-common-obj-$(CONFIG_SOFTMMU) += qom-hmp-cmds.o qom-qmp-cmds.o
@@ -13,3 +13,8 @@ libqom = static_library('qom', qom_ss.sources(),
name_suffix: 'fa')
qom = declare_dependency(link_whole: libqom)
+
+softmmu_ss.add(files(
+ 'qom-hmp-cmds.c',
+ 'qom-qmp-cmds.c',
+))