32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
#######################################################################
|
|
# Common libraries for tools and emulators
|
|
util-obj-y = util/ qobject/ qapi/ qapi-types.o qapi-visit.o
|
|
|
|
#######################################################################
|
|
# block-obj-y is code used by both qemu system emulation and qemu-img
|
|
|
|
block-obj-y =
|
|
block-obj-y += ../uc.o ../hook.o
|
|
#block-obj-$(CONFIG_POSIX) += aio-posix.o
|
|
#block-obj-$(CONFIG_WIN32) += aio-win32.o
|
|
|
|
#######################################################################
|
|
# Target independent part of system emulation. The long term path is to
|
|
# suppress *all* target specific code in case of system emulation, i.e. a
|
|
# single QEMU executable should support all CPUs and machines.
|
|
|
|
ifeq ($(CONFIG_SOFTMMU),y)
|
|
common-obj-y += hw/
|
|
common-obj-y += accel.o
|
|
|
|
common-obj-y += vl.o main-loop.o qemu-timer.o
|
|
|
|
endif
|
|
|
|
#######################################################################
|
|
# Target-independent parts used in system and user emulation
|
|
common-obj-y += qemu-log.o
|
|
common-obj-y += tcg-runtime.o
|
|
common-obj-y += hw/
|
|
common-obj-y += qom/
|