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-devel

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

To: Travis Betak <travis.betak@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Clean up unmodified_drivers mkbuildtree script
From: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
Date: Mon, 04 Sep 2006 08:37:11 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Sep 2006 00:37:49 -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>
References: <Pine.LNX.4.62.0609011552480.5451@twinkletoes01>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-09-01 at 16:04 -0500, Travis Betak 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?

You could copy headers for all architectures to asm-$ARCH and have asm
be a symlink created at build time based on $ARCH, similar to how the
asm symlink in Linux is handled.

Ian.


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

<Prev in Thread] Current Thread [Next in Thread>