[Buildroot] [PATCH 1/1] Prefer 'command -v' over 'which' (for portability)

Bjørn Forsman bjorn.forsman at gmail.com
Mon Jan 27 22:23:53 UTC 2014


On 27 January 2014 21:13, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> On 27 January 2014 08:20, Arnout Vandecappelle <arnout at mind.be> wrote:
> [...]
>>  There are also instances of which in manual.mk and toolchain-external.mk.
>
> Oh, I missed those. Thanks.
>
>>  With those removed, I wonder if it is even necessary to have which
>> installed at all? Could you test that with a largish config?
>
> Testing a "raspberrypi_defconfig" build now without any "which"
> (removed the check for "which" check in dependencies.sh too).

"make raspberrypi_defconfig && make" works (build completed) with no
"which" at all.


More information about the buildroot mailing list