buildroot/support/dependencies
Yann E. MORIN 556a0a1104 Revert "make: support: use command -v' instead of which'"
This reverts commit ca6a2907c2.

Switching to using 'command -v' instead of 'which', opened a can of
worms that is hard to fix in a timely manner:

  - recursive call to 'make' from a post-build, post-iamge script, fails
    because of a redefinition of HOSTCC_NOCCACHE (a bug on its own that
    needs a separate fix anyway) [0];

  - 'make' believeing it can call "simple" commands with execve() et al.
    instead of passing them through a shell via system(), and thus
    failing to find 'command' in the PATH [1].

[0] https://lore.kernel.org/buildroot/20211001175329.GA1973888@lbrmn-mmayer.ric.broadcom.net/T/#m95c17eb8374e4e3dd6eee700d397aa12cca0739e
[1] https://lore.kernel.org/buildroot/20211001180304.GV1504958@scaer/T/#m3a8f36bd76ec7d8e5038a6c8932bb6ffe23ea268

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-10-01 20:09:58 +02:00
..
check-host-asciidoc.sh manual generation: check dependencies first 2013-11-01 16:41:04 +01:00
check-host-bison-flex.mk Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
check-host-cmake.mk support/dependencies: set cmake version min to 3.16 2021-04-24 23:10:17 +02:00
check-host-cmake.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
check-host-coreutils.mk core/dependencies: check if we need to build our own host-coreutils 2020-01-06 21:43:38 +01:00
check-host-coreutils.sh core/dependencies: check if we need to build our own host-coreutils 2020-01-06 21:43:38 +01:00
check-host-gzip.mk support/dependencies: add a check for a suitable gzip 2018-11-24 15:14:58 +01:00
check-host-gzip.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
check-host-lzip.mk package/pkg-utils.mk: rework implementation of extractor-system-dependency 2019-12-17 22:09:48 +01:00
check-host-lzip.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
check-host-make.mk make: configure host-make with host- prefix 2018-11-20 08:17:43 +01:00
check-host-make.sh dependencies: host-make version check 2018-09-08 23:36:36 +02:00
check-host-python3.mk support/dependencies: add a check for python3 2019-03-15 22:26:40 +01:00
check-host-python3.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
check-host-tar.mk package/pkg-generic: handle host-tar as an extract dependency 2018-03-25 17:43:20 +02:00
check-host-tar.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
check-host-xzcat.mk package/pkg-utils.mk: rework implementation of extractor-system-dependency 2019-12-17 22:09:48 +01:00
check-host-xzcat.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00
dependencies.mk infra: add force build flag for host dependencies 2019-02-04 15:52:44 +01:00
dependencies.sh Revert "make: support: use command -v' instead of which'" 2021-10-01 20:09:58 +02:00