[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] Makefile: Serialise stubdom build after tools

# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1278675893 -3600
# Node ID 57859775f88f5339fa256e43ee2744be7226c093
# Parent  b8f858b1e35b250c9d068d729399a882725db624
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@xxxxxxxxxxxxx>
xen-unstable changeset:   21760:84719437205c
xen-unstable date:        Fri Jul 09 12:22:52 2010 +0100
 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b8f858b1e35b -r 57859775f88f Makefile
--- a/Makefile  Fri Jul 09 12:44:33 2010 +0100
+++ b/Makefile  Fri Jul 09 12:44:53 2010 +0100
@@ -72,7 +72,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

Xen-changelog mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.