mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
build: remove extra-obj-y
extra-obj-y is somewhat complicated to understand. Replace it with a special CONFIG_ALL symbol that is defined only at toplevel. This limits the case of directories defining more than one *-obj-y target. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
000823449c
commit
82cb6b041c
5 changed files with 8 additions and 12 deletions
|
@ -1,10 +1,10 @@
|
|||
ifeq ($(CONFIG_REALLY_VIRTFS),y)
|
||||
common-obj-y = qemu-fsdev.o virtio-9p-marshal.o
|
||||
|
||||
# Toplevel always builds this; targets without virtio will put it in
|
||||
# common-obj-y
|
||||
extra-obj-y = qemu-fsdev-dummy.o
|
||||
else
|
||||
common-obj-y = qemu-fsdev-dummy.o
|
||||
endif
|
||||
common-obj-y += qemu-fsdev-opts.o
|
||||
|
||||
# Toplevel always builds this; targets without virtio will put it in
|
||||
# common-obj-y
|
||||
common-obj-$(CONFIG_ALL) += qemu-fsdev-dummy.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue