Patchwork [4/4] Makefile: Add missing dependency (fix parallel builds)

login
register
mail settings
Submitter Paolo Bonzini
Date Nov. 19, 2012, 9:57 a.m.
Message ID <1353319062-13166-5-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/199965/
State New
Headers show

Comments

Paolo Bonzini - Nov. 19, 2012, 9:57 a.m.
From: Stefan Weil <sw@weilnetz.de>

The executables in i386-softmmu, i386-linux-user, ...
depend on the recently added libqemustub.a.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 Makefile | 2 ++
 1 file modificato, 2 inserzioni(+)

Patch

diff --git a/Makefile b/Makefile
index b8301a2..3e8d441 100644
--- a/Makefile
+++ b/Makefile
@@ -127,6 +127,8 @@  pixman/Makefile: $(SRC_PATH)/pixman/configure
 $(SRC_PATH)/pixman/configure:
 	(cd $(SRC_PATH)/pixman; autoreconf -v --install)
 
+$(SUBDIR_RULES): libqemustub.a
+
 $(filter %-softmmu,$(SUBDIR_RULES)): $(universal-obj-y) $(trace-obj-y) $(common-obj-y) $(extra-obj-y) subdir-libdis
 
 $(filter %-user,$(SUBDIR_RULES)): $(universal-obj-y) $(trace-obj-y) subdir-libdis-user subdir-libuser