[Buildroot] make source: missing dir and incorrect dependency with external toolchain

Quotient Remainder quotientvremainder at gmail.com
Wed Sep 8 10:40:09 UTC 2010


> Ar Céad, 2010-09-01 ag 11:17 +0200, scríobh Yann E. MORIN:
> > Quotient, Maxime, All,
> > 
> > In fact, that .mk can be used even for external toolchain, as it is also
> > responsible for building the native toolchain that runs on the target,
> > if you selected it.
> > 
> > The issue is in this case:
> > - external toolchain used
> >   --> verion selection for gcc, binutils... is not available
> > - native toolchain on target is selected
> >   --> wants to download gcc
> > 
> > Quotient, is that your situation?
> 
> No, I'm not building a native toolchain.
> From .config:
> 
> 	# BR2_HAVE_DEVFILES is not set
> 
> Therefore I cannot (and do not want to) select BR2_PACKAGE_GCC_TARGET.
> 
> > The proper way to fix it would be to show gcc/binutils/... version
> > selection in this case.
> > 
> > > I'm not sure how to make it not use it when using an external toolchain
> > > though, a big if/endif on the whole file seems dirty-ish, at best.
> > 
> > Nope, that's not possible, as explained above. We have to be smarter! ;-)

Yann, or anyone else, did you get a chance to think any further about
this?





More information about the buildroot mailing list