[U-Boot] U-Boot: could not cross-compile u-boot tools

Wolfgang Denk wd at denx.de
Fri Feb 28 12:12:31 CET 2014


Dear Heiko & Masahiro,

In message <53105765.3010709 at denx.de> you wrote:
> 
> > Usage:
> > Build tools for host
> >       make  CROSS_COMPILE=<your_gcc_prefix>  tools
> > Build tools for target
> >       make CROSS_BUILD_TOOLS=1  CROSS_COMPILE=<your_gcc_prefix>  tools
> 
> Yep, works, great!

I'm not really hapy with the additional CROSS_BUILD_TOOLS paramert -
but this may be a matter of taste, so the following is just a thought
and a question:

Would it make more sense to provide a sparate make target instead?

Say, something like this:

	Build tools for host
		make  CROSS_COMPILE=<your_gcc_prefix tools
	Build tools for target
		make  CROSS_COMPILE=<your_gcc_prefix cross_tools
	
?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Comparing information  and  knowledge  is  like  asking  whether  the
fatness  of  a  pig  is more or less green than the designated hitter
rule."                                               - David Guaspari


More information about the U-Boot mailing list