kumquat-buildroot/toolchain
Petr Vorel ca6a2907c2 make: support: use command -v' instead of which'
`which' has been discontinued after 2.21 release in 2015 due this (git
repository is empty [1]) and version shipped in Debian produces warning
[2]:

/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.

`command is POSIX [3] and supported on all common shells (bash, zsh,
dash, busybox sh, mksh).

Patch tested on dash as the default shell.

[1] https://git.savannah.gnu.org/cgit/which.git
[2] 3a8dd10b45
[3] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-09-26 23:37:21 +02:00
..
toolchain toolchain/toolchain: set TOOLCHAIN_INSTALL_STAGING only once 2019-10-27 14:56:52 +01:00
toolchain-buildroot package/glibc, toolchain/toolchain-buildroot: disable native RPC in glibc toolchains 2020-12-29 23:28:57 +01:00
toolchain-external make: support: use command -v' instead of which' 2021-09-26 23:37:21 +02:00
Config.in toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_83143 2021-09-11 18:18:04 +02:00
helpers.mk toolchain/helpers.mk: gdbinit: set auto-load-safe-path before sysroot 2021-09-21 22:44:02 +02:00
toolchain-wrapper.c toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH 2020-06-27 17:19:53 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: disable -ftree-loop-distribute-patterns when building for microblaze with gcc >= 10 2020-10-25 10:48:58 +01:00
toolchain.mk