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

[Xen-devel] [PATCH] tools: do not install qemu if just doing a build



From: David Vrabel <david.vrabel@xxxxxxxxxx>

Signed-off-by: David Vrabel <david.vrabel@
---
 tools/Makefile |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/tools/Makefile b/tools/Makefile
index 7b14678..97c30a4 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -118,7 +118,14 @@ qemu-xen-traditional-dir-force-update:
                $(GIT) reset --hard $(QEMU_TAG); \
        fi
 
-subdir-all-qemu-xen-traditional-dir subdir-install-qemu-xen-traditional-dir: 
qemu-xen-traditional-dir-find
+subdir-all-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find
+       set -e; \
+               $(buildmakevars2shellvars); \
+               cd qemu-xen-traditional-dir; \
+               $(QEMU_ROOT)/xen-setup $(IOEMU_CONFIGURE_CROSS); \
+               $(MAKE) all
+
+subdir-install-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find
        set -e; \
                $(buildmakevars2shellvars); \
                cd qemu-xen-traditional-dir; \
@@ -139,7 +146,7 @@ qemu-xen-dir-force-update:
                $(GIT) reset --hard $(QEMU_UPSTREAM_REVISION); \
        fi
 
-subdir-all-qemu-xen-dir subdir-install-qemu-xen-dir: qemu-xen-dir-find
+subdir-all-qemu-xen-dir: qemu-xen-dir-find
        if test -d $(QEMU_UPSTREAM_URL) ; then \
                source=$(QEMU_UPSTREAM_URL); \
        else \
@@ -159,6 +166,10 @@ subdir-all-qemu-xen-dir subdir-install-qemu-xen-dir: 
qemu-xen-dir-find
                --disable-kvm \
                --python=$(PYTHON) \
                $(IOEMU_CONFIGURE_CROSS); \
+       $(MAKE) all
+
+subdir-install-qemu-xen-dir: subdir-all-qemu-xen-dir
+       cd qemu-xen-dir; \
        $(MAKE) install
 
 subdir-clean-qemu-xen-dir:
-- 
1.7.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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