mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 04:29:13 +00:00
3277400723
Move qapi-schema.json to qapi/, so it's next to its modules, and all files get generated to qapi/, not just the ones generated for modules. Consistently name the generated files qapi-MODULE.EXT: qmp-commands.[ch] become qapi-commands.[ch], qapi-event.[ch] become qapi-events.[ch], and qmp-introspect.[ch] become qapi-introspect.[ch]. This gets rid of the temporary hacks in scripts/qapi/commands.py, scripts/qapi/events.py, and scripts/qapi/common.py. Backports commit eb815e248f50cde9ab86eddd57eca5019b71ca78 from qemu
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
#######################################################################
|
|
# Common libraries for tools and emulators
|
|
util-obj-y = util/ qobject/ qapi/
|
|
util-obj-y += qapi/qapi-types.o
|
|
util-obj-y += qapi/qapi-builtin-types.o
|
|
util-obj-y += qapi/qapi-builtin-visit.o
|
|
util-obj-y += qapi/qapi-types-misc.o
|
|
util-obj-y += qapi/qapi-visit.o
|
|
util-obj-y += qapi/qapi-visit-misc.o
|
|
|
|
#######################################################################
|
|
# block-obj-y is code used by both qemu system emulation and qemu-img
|
|
|
|
block-obj-y =
|
|
block-obj-y += ../uc.o ../list.o glib_compat.o
|
|
|
|
#######################################################################
|
|
# crypto-obj-y is code used by both qemu system emulation and qemu-img
|
|
|
|
crypto-obj-y = crypto/
|
|
crypto-aes-obj-y = crypto/
|
|
|
|
#######################################################################
|
|
# 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 qemu-timer.o
|
|
|
|
endif
|
|
|
|
#######################################################################
|
|
# Target-independent parts used in system and user emulation
|
|
common-obj-y += hw/
|
|
common-obj-y += qom/
|