[Buildroot] [PATCH] Don't build host-cmake if it is available on the build host

Arnout Vandecappelle arnout at mind.be
Fri Feb 5 21:47:16 UTC 2016


On 04-02-16 14:37, Luca Ceresoli wrote:
> Hi Arnout,
> 
> Luca Ceresoli wrote:

>>>> +cmake=`which $candidate`
>>>
>>>   $candidate could be an absolute path, in which case which returns
>>> nothing.
> 
> Not sure I got what you mean, sorry. which + absolute path returns the
> absolute path itself, if it exists:
> 
> $ which cmake
> /usr/bin/cmake
> $ which /usr/bin/cmake
> /usr/bin/cmake
> $ which /not/quite/cmake
> $
> 
> And the which(1) manpage confirms this is correct.
> 


 Oops, my bad, I tested it with a file that wasn't executable...


 Regards,
 Arnout

[snip]


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list