treewide: drop use of which
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 25 Nov 2021 01:12:58 +0000 (02:12 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 17 Jan 2022 08:14:26 +0000 (09:14 +0100)
commit88204bfa82f982a986d2aa3e166a4c5946040308
tree7d10a3c76c12f1cdf00ec192cb40efe823a4f0d2
parent87d489f67a35968242cd4f192dc363dc87056844
treewide: drop use of which

Ubuntu started to flag which as deprecated and it
seems which is not really standard and may vary
across Distro.
Drop the use of which and use the standard 'command -v'
for this simple task.
Which is still present in the prereq if some package/script
still use which.
A utility script called command_all.sh is implemented that
will just mimic the output of which -a.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Makefile
include/bpf.mk
include/cmake.mk
include/prereq.mk
scripts/command_all.sh [new file with mode: 0755]
scripts/download.pl
scripts/feeds
scripts/ubinize-image.sh
target/sdk/files/Makefile