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/
Home Products Support Community News


Re: [Xen-devel] [PATCH] Clean up unmodified_drivers mkbuildtree script

To: Travis Betak <travis.betak@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Clean up unmodified_drivers mkbuildtree script
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 02 Sep 2006 15:48:31 +0100
Delivery-date: Sat, 02 Sep 2006 07:48:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.62.0609011552480.5451@twinkletoes01>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbOntuJGkbDWzqSEduotwAKle7CWA==
Thread-topic: [Xen-devel] [PATCH] Clean up unmodified_drivers mkbuildtree script
User-agent: Microsoft-Entourage/

On 1/9/06 10:04 pm, "Travis Betak" <travis.betak@xxxxxxx> wrote:

> The current mkbuildtree script uses `uname -m` when linking the
> directories from the xen-sparse directory to unmodified_drivers.  This
> doesn't work out well if you are building 32-bit modules on a 64-bit
> system.
> This patch makes the architecture to be linked against a command line
> option -- currently i386 or x86_64.  It also cleans up the indentation a
> bit.
> Any comments?  Better ideas?

Default to `uname -m` if no argument is provided to the script, and print a
message to explain that this is what you are doing.

 -- Keir

Xen-devel mailing list