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 1 of 2] Make tools/Makefile cross-friendly

To: Aron Griffis <aron@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1 of 2] Make tools/Makefile cross-friendly
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 19 Jan 2008 08:26:30 +0000
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 19 Jan 2008 00:26:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <79cf8ffbc6678f201d35.1200715350@xxxxxxxxxxxxxx>
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: AchadP3APJrgfsZoEdyDmgAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH 1 of 2] Make tools/Makefile cross-friendly
User-agent: Microsoft-Entourage/11.3.6.070618
On 19/1/08 04:02, "Aron Griffis" <aron@xxxxxx> wrote:

> +# For the sake of linking, set the sys-root
> +ifneq ($(CROSS_COMPILE),)
> +CROSS_SYS_ROOT ?= /usr/$(CROSS_COMPILE:-=)/sys-root
> +export CROSS_SYS_ROOT
>  endif

I suppose this is a completely arbitrary path that happens to work for you?
For your example command line
make -j1 XEN_TARGET_ARCH=ia64 CROSS_COMPILE=ia64-linux-gnu-
...this would link against the ugly and bizarre path
/usr/ia64linuxgnu/sys-root?

 -- Keir



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