All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aron Griffis <aron@hp.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, xen-ia64-devel@lists.xensource.com
Subject: Re: [PATCH 1 of 2] Make tools/Makefile cross-friendly
Date: Sat, 19 Jan 2008 09:48:00 -0500	[thread overview]
Message-ID: <20080119144759.GA22728@fc.hp.com> (raw)
In-Reply-To: <C3B764B6.12866%Keir.Fraser@cl.cam.ac.uk>

Keir Fraser wrote:  [Sat Jan 19 2008, 03:26:30AM EST]
> On 19/1/08 04:02, "Aron Griffis" <aron@hp.com> 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?

No, it appears to be pretty standard.  I took my cue on the sys-root
from the cross-compilers on arm.  My own cross compilers are theirs
plus some patches (which I'm preparing to send their direction next)

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

No, $(CROSS_COMPILE:-=) only removes the trailing dash.  The resulting
path is /usr/ia64-linux-gnu/sys-root, so the sys-root lives right next
to the rest of the toolchain support:

$ ls /usr/ia64-linux-gnu
bin/  lib/  sys-root/

Aron

  reply	other threads:[~2008-01-19 14:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-19  4:02 [PATCH 0 of 2] Make tools cross-friendly Aron Griffis
2008-01-19  4:02 ` [PATCH 1 of 2] Make tools/Makefile cross-friendly Aron Griffis
2008-01-19  8:26   ` Keir Fraser
2008-01-19 14:48     ` Aron Griffis [this message]
2008-01-19 15:33       ` Aron Griffis
2008-01-19  4:02 ` [PATCH 2 of 2] Make tools/check scripts cross-friendly Aron Griffis
2008-01-21 11:05   ` Christoph Egger
2008-01-21 14:50     ` Aron Griffis
  -- strict thread matches above, loose matches on Subject: below --
2008-01-21 15:29 [PATCH 0 of 2] Make tools cross-friendly, try 2 Aron Griffis
2008-01-21 15:29 ` [PATCH 1 of 2] Make tools/Makefile cross-friendly Aron Griffis

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=20080119144759.GA22728@fc.hp.com \
    --to=aron@hp.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-ia64-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.