[Buildroot] [RFC PATCH 0/3] make: support: use `command -v' instead of `which' *second try*
Petr Vorel
petr.vorel at gmail.com
Mon Oct 11 22:00:22 UTC 2021
Hi all,
this is a second attempt to introduce command -v.
Changes v1->v2:
* reproduced original issue and fixed by not relying to
$(shell command -v ...) but shell with:
$(shell $(SHELL) -c "command -v ...").
* quote variables
Tested only with make defconfig && make help >/dev/null
Petr Vorel (3):
make: support: use `command -v' instead of `which'
make: Drop `type -p ...' fallback
support/dependencies: don't check for `which'
Makefile | 22 +++++++++----------
package/Makefile.in | 8 +++----
support/dependencies/check-host-bison-flex.mk | 4 ++--
support/dependencies/check-host-cmake.sh | 2 +-
support/dependencies/check-host-gzip.sh | 2 +-
support/dependencies/check-host-lzip.sh | 4 ++--
support/dependencies/check-host-python3.sh | 2 +-
support/dependencies/check-host-tar.sh | 4 ++--
support/dependencies/check-host-xzcat.sh | 4 ++--
support/dependencies/dependencies.sh | 18 +++++++--------
.../pkg-toolchain-external.mk | 2 +-
11 files changed, 35 insertions(+), 37 deletions(-)
--
2.33.0
More information about the buildroot
mailing list