[OpenBIOS] [PATCH] Add non-standard compiler prefix support

Segher Boessenkool segher at kernel.crashing.org
Fri May 8 17:57:10 CEST 2015


On Fri, May 08, 2015 at 09:57:45AM -0400, Lennart Sorensen wrote:
> I think people can legitimately argue that if someone specifies
> CROSS_COMPILE then that is what they want to use, and you should NOT go
> looking at other options at all that might exist in that case.
> 
> After all if I make a typo in my CROSS_COMPILE line I would rather get
> an error that it can't find that compiler, than have it run of and find
> some other cross compiler I have installed and use that.
> 
> So probably the correct thing would be:
> 
> if CROSS_COMPILE is set then use CROSS_COMPILE
> else do the list search instead.

Yes, that is the no-surprises user-in-control way of doing things.
Which is my recommendation as well.


Segher



More information about the OpenBIOS mailing list