mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
build: adapt qom/Makefile and move it to Makefile.objs
qom/ already used a separate makefile. Convert it to use relative paths, and make it declare both common-obj-y and user-obj-y. This way, the upper makefiles do not need to know that some QOM files are compiled twice. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
99100dc3b5
commit
7f07b9cbc5
3 changed files with 11 additions and 8 deletions
|
@ -1,2 +0,0 @@
|
|||
qom-y = object.o container.o qom-qobject.o
|
||||
qom-twice-y = cpu.o
|
4
qom/Makefile.objs
Normal file
4
qom/Makefile.objs
Normal file
|
@ -0,0 +1,4 @@
|
|||
qom-obj-y = object.o container.o qom-qobject.o
|
||||
qom-obj-twice-y = cpu.o
|
||||
common-obj-y = $(qom-obj-twice-y)
|
||||
user-obj-y = $(qom-obj-twice-y)
|
Loading…
Add table
Add a link
Reference in a new issue