# single QEMU executable should support all CPUs and machines.
ifeq ($(CONFIG_SOFTMMU),y)
-common-obj-y = net/
-common-obj-$(CONFIG_LINUX) += fsdev/
-
-common-obj-y += accel/
+common-obj-y =
common-obj-$(CONFIG_AUDIO_ALSA) += audio-alsa$(DSOSUF)
common-obj-$(CONFIG_AUDIO_OSS) += audio-oss$(DSOSUF)
common-obj-$(if $(CONFIG_LZFSE),m) += block-dmg-lzfse$(DSOSUF)
common-obj-$(if $(and $(CONFIG_BZIP2),$(CONFIG_DMG)),m) += block-dmg-bz2$(DSOSUF)
-common-obj-y += hw/
-common-obj-m += hw/
-
-common-obj-y += backends/
-
-common-obj-y += qapi/
-
common-obj-y += libqmp.fa
endif # CONFIG_SOFTMMU
-#######################################################################
-# Target-independent parts used in system and user emulation
-
-common-obj-y += hw/
-common-obj-y += qom/
-common-obj-y += disas/
-
######################################################################
# Resource file for Windows executables
version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o