RFC make: support: use `command -v' instead of `which' *second try*
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 9 repliesIn review
Changes v1->v2 from the cover letter
* reproduced original issue and fixed by not relying to $(shell command -v ...) but shell with:
$(shell $(SHELL) -c "command -v ...").
* quote variables
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | make: support: use `command -v' instead of `which'Makefile package/ support/ +8 more | +35 | 4 replies | |
| 2/3 | make: Drop `type -p ...' fallbackMakefile package/ | +14 | 4 replies | |
| 3/3 | support/dependencies: don't check for `which'support/ | +0 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Cyril Bur |
|---|---|
| 1/3 | |
| 2/3 | T-b R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Buildroot] [RFC PATCH 0/3] make: support: use `command -v' instead of `which' *second try*
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(-)
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot