All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Keir Fraser <Keir.Fraser@eu.citrix.com>
Subject: Re: Re: [PATCH] ioemu: Fixes for build/install system
Date: Mon, 4 May 2009 11:42:37 +0200	[thread overview]
Message-ID: <200905041142.37944.Christoph.Egger@amd.com> (raw)
In-Reply-To: <18936.29351.248767.431837@mariner.uk.xensource.com>

[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]

On Wednesday 29 April 2009 17:30:47 Ian Jackson wrote:
> Christoph Egger writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Fixes for 
build/install system"):
> > Can you send me the output of
> > find dist/install ? Then I can tell you.
>
> I don't have it to hand but stuff had moved into usr/local from usr,
> possibly amongst other changes.
>
> > Did you set PREFIX explicitely or did you use the default values ?
>
> I did not set PREFIX.
>
> > > Did you do a similar test ?
> >
> > I run my tests with clean rebuilds from the toplevel xen directory with
> > gmake dist or PREFIX="/usr/local" gmake dist
>
> The purpose of your changes is to plumb PREFIX through to the qemu
> build system.  But I think you should also test that a default build
> remains unchanged.

I figured out why a default build installs ioemu into /usr/local with
my patch: PREFIX is empty and ioemu's configure sets prefix
to /usr/local if prefix is empty.

Attached patch fixes this (and applies to the xen-tree). It always passes 
PREFIX to xen-setup and xen-setup-stubdom.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

[-- Attachment #2: xen_ioemu_prefix.diff --]
[-- Type: text/x-diff, Size: 800 bytes --]

diff -r f80cf52a4fb6 stubdom/Makefile
--- a/stubdom/Makefile	Thu Apr 30 14:34:15 2009 +0100
+++ b/stubdom/Makefile	Mon May 04 11:35:03 2009 +0200
@@ -235,6 +235,8 @@ libxc-$(XEN_TARGET_ARCH)/libxenctrl.a li
 ioemu: cross-zlib cross-libpci libxc
 	[ -f ioemu/config-host.mak ] || \
 	  ( $(absolutify_xen_root); \
+	    PREFIX=$(PREFIX); \
+	    export PREFIX; \
 	    cd ioemu ; \
 	    LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \
 	    TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
diff -r f80cf52a4fb6 tools/Makefile
--- a/tools/Makefile	Thu Apr 30 14:34:15 2009 +0100
+++ b/tools/Makefile	Mon May 04 11:35:03 2009 +0200
@@ -91,6 +94,8 @@ ioemu-dir-find:
 	fi
 	set -e; \
 		$(absolutify_xen_root); \
+		PREFIX=$(PREFIX); \
+		export PREFIX; \
 		cd ioemu-dir; \
 		./xen-setup $(IOEMU_CONFIGURE_CROSS)
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2009-05-04  9:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 12:22 [PATCH] Fixes for build/install system Christoph Egger
2009-03-31 16:11 ` Ian Jackson
2009-04-01  7:44   ` Christoph Egger
     [not found] ` <200904221037.00833.Christoph.Egger@amd.com>
     [not found]   ` <18927.13912.58144.792099@mariner.uk.xensource.com>
2009-04-22 15:46     ` [PATCH] ioemu: " Christoph Egger
2009-04-23 15:43       ` Ian Jackson
2009-04-23 15:54         ` Christoph Egger
2009-04-23 17:19           ` Ian Jackson
2009-04-24  6:34             ` Christoph Egger
2009-04-29 15:30               ` Ian Jackson
2009-05-04  9:42                 ` Christoph Egger [this message]
2009-05-05 14:00                   ` Ian Jackson
2009-05-05 14:15                     ` Christoph Egger
2009-05-05 14:28                       ` Ian Jackson
2009-05-05 15:25                         ` Christoph Egger
2009-05-05 17:22                           ` Ian Jackson
2009-05-08  9:29                             ` Christoph Egger
2009-05-08 16:13                               ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200905041142.37944.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Keir.Fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.