aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-07-09 12:22:52 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-07-09 12:22:52 +0100
commit4d0cb9ebfd1cafaf85376de4ad97b8abf798caf5 (patch)
tree8febc8de875e890c1fe077b64e4d1620842f44c3 /Makefile
parent3130f964bad10c85c17b1e28ed9b278745a905b9 (diff)
downloadxen-4d0cb9ebfd1cafaf85376de4ad97b8abf798caf5.tar.gz
xen-4d0cb9ebfd1cafaf85376de4ad97b8abf798caf5.tar.bz2
xen-4d0cb9ebfd1cafaf85376de4ad97b8abf798caf5.zip
Makefile: Serialise stubdom build after tools
Currently "make stubdom" on its own fails because it depends on files being installed by the results of "make tools". This also means that in some circumstances a parallel "make tools stubdom" (or "make all") can fail due to races. So make "make stubdom" depend on "make tools" having completed first. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 946afab7b4..6fac2d7e98 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ install-kernels:
for i in $(XKERNELS) ; do $(MAKE) $$i-install || exit 1; done
.PHONY: install-stubdom
-install-stubdom: tools/ioemu-dir
+install-stubdom: tools/ioemu-dir install-tools
$(MAKE) -C stubdom install
ifeq (x86_64,$(XEN_TARGET_ARCH))
XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom install-grub