mirror of
https://github.com/qemu/qemu.git
synced 2024-12-03 08:43:38 +08:00
c353f26194
This completes the move to nested Makefiles for virtio and a few other files that were not part of obj-TARGET-y, but still were compiled separately for each target. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
27 lines
587 B
Makefile
27 lines
587 B
Makefile
# Makefile for qemu target independent devices.
|
|
|
|
include ../config-host.mak
|
|
include ../config-all-devices.mak
|
|
include config.mak
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
.PHONY: all
|
|
|
|
$(call set-vpath, $(SRC_PATH))
|
|
|
|
QEMU_CFLAGS+=-I..
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
|
|
|
include $(SRC_PATH)/Makefile.objs
|
|
|
|
all: $(hw-obj-y)
|
|
# Dummy command so that make thinks it has done something
|
|
@true
|
|
|
|
clean:
|
|
rm -f $(addsuffix /*.o, $(dir $(sort $(hw-obj-y))))
|
|
rm -f $(addsuffix /*.d, $(dir $(sort $(hw-obj-y))))
|
|
|
|
# Include automatically generated dependency files
|
|
-include $(patsubst %.o, %.d, $(hw-obj-y))
|