WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Revert 61c0c52a8c6c "qemu-xen: build adju

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Revert 61c0c52a8c6c "qemu-xen: build adjustments"
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Nov 2010 10:25:09 -0800
Delivery-date: Wed, 24 Nov 2010 10:25:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1290537496 0
# Node ID a4e3051f811b101a3be6d0b68bd61f05bfbfcbb8
# Parent  61c0c52a8c6c7c99a7b1ae15d6b223b05cb9f4e8
Revert 61c0c52a8c6c "qemu-xen: build adjustments"

It appears that the changeset
  qemu-xen: build adjustments to support out-of-tree builds
broke the build.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Config.mk        |    6 +++---
 stubdom/Makefile |   14 ++------------
 tools/Makefile   |   17 +++++++++++------
 3 files changed, 16 insertions(+), 21 deletions(-)

diff -r 61c0c52a8c6c -r a4e3051f811b Config.mk
--- a/Config.mk Tue Nov 23 16:43:38 2010 +0000
+++ b/Config.mk Tue Nov 23 18:38:16 2010 +0000
@@ -185,9 +185,9 @@ endif
 # CONFIG_QEMU ?= ../qemu-xen.git
 CONFIG_QEMU ?= $(QEMU_REMOTE)
 
-QEMU_TAG ?= ad78ccc35617610bc43112788d28a05878fac91f
-# Tue Nov 23 16:40:08 2010 +0000
-# qemu-xen: build adjustments to support out-of-tree builds
+QEMU_TAG ?= 60766b459c41e429a4b2405124b42512ea362984
+# Fri Nov 19 18:50:43 2010 +0000
+# passthrough: let xen choose the pirq number
 
 # Optional components
 XENSTAT_XENTOP     ?= y
diff -r 61c0c52a8c6c -r a4e3051f811b stubdom/Makefile
--- a/stubdom/Makefile  Tue Nov 23 16:43:38 2010 +0000
+++ b/stubdom/Makefile  Tue Nov 23 18:38:16 2010 +0000
@@ -215,9 +215,6 @@ cross-ocaml: $(OCAML_STAMPFILE)
 .PHONY: $(CROSS_ROOT)
 $(CROSS_ROOT): cross-newlib cross-zlib cross-libpci
 
-QEMU_ROOT := $(shell if [ -d "$(CONFIG_QEMU)" ]; then echo "$(CONFIG_QEMU)"; 
else echo .; fi)
-
-ifeq ($(QEMU_ROOT),.)
 $(XEN_ROOT)/tools/ioemu-dir:
        $(CROSS_MAKE) -C $(XEN_ROOT)/tools ioemu-dir-find
 
@@ -234,13 +231,6 @@ ioemu/linkfarm.stamp: $(XEN_ROOT)/tools/
                        )) |                                                    
\
            while read f; do rm -f "$$f"; ln -s "$$src/$$f" "$$f"; done
        touch ioemu/linkfarm.stamp
-else
-export QEMU_ROOT
-
-ioemu/linkfarm.stamp:
-       mkdir -p ioemu
-       touch ioemu/linkfarm.stamp
-endif
 
 mk-headers-$(XEN_TARGET_ARCH): ioemu/linkfarm.stamp
        mkdir -p include/xen && \
@@ -297,8 +287,8 @@ ioemu: cross-zlib cross-libpci libxc
            TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
            TARGET_CFLAGS="$(TARGET_CFLAGS)" \
            TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
-           $(QEMU_ROOT)/xen-setup-stubdom )
-       $(CROSS_MAKE) -C ioemu -f $(QEMU_ROOT)/Makefile
+           ./xen-setup-stubdom )
+       $(CROSS_MAKE) -C ioemu
 
 ######
 # caml
diff -r 61c0c52a8c6c -r a4e3051f811b tools/Makefile
--- a/tools/Makefile    Tue Nov 23 16:43:38 2010 +0000
+++ b/tools/Makefile    Tue Nov 23 18:38:16 2010 +0000
@@ -81,15 +81,20 @@ IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TAR
                         --interp-prefix=$(CROSS_SYS_ROOT)
 endif
 
-QEMU_ROOT := $(shell if [ -d "$(CONFIG_QEMU)" ]; then echo "$(CONFIG_QEMU)"; 
else echo .; fi)
-ifneq ($(QEMU_ROOT),.)
-export QEMU_ROOT
-endif
+ioemu/config-host.mak:
+       cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure \
+               --prefix=$(PREFIX) $(IOEMU_CONFIGURE_CROSS)
+
+subdir-all-ioemu subdir-install-ioemu: ioemu/config-host.mak
+
+subdir-clean-ioemu:
+       $(MAKE) -C ioemu distclean
 
 ioemu-dir-find:
        set -ex; \
        if test -d $(CONFIG_QEMU); then \
-               mkdir -p ioemu-dir; \
+               rm -f ioemu-dir; \
+               ln -sf $(CONFIG_QEMU) ioemu-dir; \
        else \
                if [ ! -d ioemu-remote ]; then \
                        rm -rf ioemu-remote ioemu-remote.tmp; \
@@ -110,7 +115,7 @@ ioemu-dir-find:
                $(absolutify_xen_root); \
                $(buildmakevars2shellvars); \
                cd ioemu-dir; \
-               $(QEMU_ROOT)/xen-setup $(IOEMU_CONFIGURE_CROSS)
+               ./xen-setup $(IOEMU_CONFIGURE_CROSS)
 
 .PHONY: ioemu-dir-force-update
 ioemu-dir-force-update:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Revert 61c0c52a8c6c "qemu-xen: build adjustments", Xen patchbot-unstable <=