mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
3ab5a6ece5
We have many files that apparently do not depend on the target CPU configuration, i.e. which can be put into common-obj-y instead of obj-y. This way, the code can be shared for example between qemu-system-arm and qemu-system-aarch64, or the various big and little endian variants like qemu-system-sh4 and qemu-system-sh4eb, so that we do not have to compile the code multiple times anymore. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200130133841.10779-1-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
34 lines
1.3 KiB
Makefile
34 lines
1.3 KiB
Makefile
# core qdev-related obj files, also used by *-user:
|
|
common-obj-y += qdev.o qdev-properties.o
|
|
common-obj-y += bus.o
|
|
common-obj-y += cpu.o
|
|
common-obj-y += resettable.o
|
|
common-obj-y += hotplug.o
|
|
common-obj-y += vmstate-if.o
|
|
# irq.o needed for qdev GPIO handling:
|
|
common-obj-y += irq.o
|
|
|
|
common-obj-$(CONFIG_SOFTMMU) += reset.o
|
|
common-obj-$(CONFIG_SOFTMMU) += qdev-fw.o
|
|
common-obj-$(CONFIG_SOFTMMU) += fw-path-provider.o
|
|
common-obj-$(CONFIG_SOFTMMU) += nmi.o
|
|
common-obj-$(CONFIG_SOFTMMU) += vm-change-state-handler.o
|
|
common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
|
|
common-obj-$(CONFIG_SOFTMMU) += sysbus.o
|
|
common-obj-$(CONFIG_SOFTMMU) += machine.o
|
|
common-obj-$(CONFIG_SOFTMMU) += null-machine.o
|
|
common-obj-$(CONFIG_SOFTMMU) += loader.o
|
|
common-obj-$(CONFIG_SOFTMMU) += machine-hmp-cmds.o
|
|
common-obj-$(CONFIG_SOFTMMU) += numa.o
|
|
obj-$(CONFIG_SOFTMMU) += machine-qmp-cmds.o
|
|
|
|
common-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o
|
|
common-obj-$(CONFIG_XILINX_AXI) += stream.o
|
|
common-obj-$(CONFIG_PTIMER) += ptimer.o
|
|
common-obj-$(CONFIG_FITLOADER) += loader-fit.o
|
|
common-obj-$(CONFIG_REGISTER) += register.o
|
|
common-obj-$(CONFIG_OR_IRQ) += or-irq.o
|
|
common-obj-$(CONFIG_SPLIT_IRQ) += split-irq.o
|
|
common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
|
|
common-obj-$(CONFIG_GENERIC_LOADER) += generic-loader.o
|