[U-Boot-Users] PPC as host

Wolfgang Denk wd at denx.de
Mon Oct 25 19:57:08 CEST 2004


In message <1098716549.1186.7.camel at 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.




More information about the U-Boot mailing list