OSDN Git Service

Makefile: Add missing dependency for system emulation (fix build)
authorStefan Weil <sw@weilnetz.de>
Thu, 27 Feb 2014 20:28:03 +0000 (21:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Mar 2014 13:02:23 +0000 (13:02 +0000)
Comment from Makefile.objs:

The system emulation needs this dependency (which was missing in Makefile),
otherwise builds without tools (or massive parallel builds) fail.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Makefile

index a28a3c8..a0dafbf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -159,6 +159,7 @@ qemu-options.def: $(SRC_PATH)/qemu-options.hx
 SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
 SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES))
 
+$(SOFTMMU_SUBDIR_RULES): $(block-obj-y)
 $(SOFTMMU_SUBDIR_RULES): config-all-devices.mak
 
 subdir-%: