public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PPC as host
Date: Mon, 25 Oct 2004 19:57:08 +0200	[thread overview]
Message-ID: <20041025175713.54271C1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "25 Oct 2004 18:02:29 +0300." <1098716549.1186.7.camel@imac>

In message <1098716549.1186.7.camel@imac> you wrote:
> 
> Apparently no one uses Linux PPC as host?

Not many, but some are.

> So no one ever had problems cross-compiling u-boot
> for another target then (o;

Or the problems were solved.

> In the top Makefile we have:
> 
> ifndef CROSS_COMPILE
> ifeq ($(HOSTARCH),ppc)
> CROSS_COMPILE =
> else
> ....
> 
> which always picks up the host ppc compiler regardless
> what ARCH you have defined for your board...

Please note the "ifndef CROSS_COMPILE" - i.e. all you need to  do  is
provide  a  correct  setting  of  the  CROSS_COMPILE variable in your
environment resp. your make command line. I think  this  is  actually
documented somewhere.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have often regretted my speech, never my silence.

  reply	other threads:[~2004-10-25 17:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-25 14:46 [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET VanBaren, Gerald
2004-10-25 15:02 ` [U-Boot-Users] PPC as host Richard Klingler
2004-10-25 17:57   ` Wolfgang Denk [this message]
2004-10-25 15:12 ` [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET Steven Scholz
2004-10-25 18:01 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-10-25 15:59 [U-Boot-Users] PPC as host VanBaren, Gerald
2004-10-25 17:20 ` Richard Klingler
2004-10-25 17:59   ` Wolfgang Denk

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=20041025175713.54271C1430@atlas.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox