openwrt/include
Petr Štetiar c7aec47e5e build: replace which with Bash command built-in
`which` utility is not shipped by default for example on recent Arch
Linux and then any steps relying on its presence fails, like for example
following Python3 prereq build check:

 $ python3 --version
 Python 3.9.1

 $ make
 /bin/sh: line 1: which: command not found
 /bin/sh: line 1: which: command not found
 /bin/sh: line 1: which: command not found
 ...
 Checking 'python3'... failed.
 ...

Fix this by switching to Bash builtin `command` which should provide
same functionality.

Fixes: FS#3525
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2021-01-04 19:32:25 +01:00
..
site Revert faulty tree push 2019-08-12 12:27:06 +02:00
autotools.mk autotools.mk: autoreconf: fix missing install-sh 2019-07-26 08:09:16 +02:00
cmake.mk build: replace which with Bash command built-in 2021-01-04 19:32:25 +01:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk build: find_md5 list with mod time and sorted 2020-12-07 10:55:59 -10:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk build: prevent excessive re-evaluation of PKG_VERSION 2020-10-16 21:39:10 +02:00
feeds.mk build: FeedSourcesAppend add kmod feed to snapshot 2020-10-30 00:39:09 +00:00
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 2018-01-27 16:46:45 +01:00
hardening.mk buildsystem: Make PIE ASLR option tristate 2020-01-13 15:34:36 +01:00
host-build.mk build: drop ccache variables from specific targets 2021-01-01 10:29:07 -10:00
image-commands.mk build: add UIMAGE_MAGIC to device variables 2020-11-25 15:55:26 +01:00
image.mk build/json: add filesystem information 2020-12-13 22:07:52 -10:00
kernel-build.mk kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels 2021-01-01 19:55:59 +01:00
kernel-defaults.mk build: make testing kernel decompression more portable 2020-12-05 12:06:30 +01:00
kernel-version.mk kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
kernel.mk build: create $(PKG_SYMVERS_DIR) if non-existent 2020-11-19 18:52:15 +01:00
logo.png README: mv logo.svg include/logo.{png,svg} 2020-12-01 10:18:07 -10:00
logo.svg README: mv logo.svg include/logo.{png,svg} 2020-12-01 10:18:07 -10:00
netfilter.mk netfilter: Add queue support for nftables 2020-11-12 18:19:44 +01:00
nls.mk treewide: fix build depends to refer to source package names 2018-01-13 19:54:44 +01:00
package-bin.mk build: use if-then to avoid non-zero return codes in bin/ packaging code 2017-01-23 13:49:45 +01:00
package-defaults.mk build: allow file modes per binary package 2020-09-09 14:13:59 +01:00
package-dumpinfo.mk build: expose ABI version in .packageauxvars 2019-01-19 14:32:01 +01:00
package-ipkg.mk build: use mkhash for IPK metadata checksums 2020-11-26 19:06:13 -10:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk build: drop ccache variables from specific targets 2021-01-01 10:29:07 -10:00
prereq-build.mk build/prereq: merge ifndef IB block together 2020-12-31 09:30:01 -10:00
prereq.mk build: replace which with Bash command built-in 2021-01-04 19:32:25 +01:00
quilt.mk build: Use LINUX_DIR for Kernel/Patch 2019-01-30 13:20:14 +01:00
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-05 22:07:00 -10:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: have scripts/feeds honor all toplevel .mk-files of a feed 2019-10-27 14:32:13 +01:00
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
subdir.mk include/subdir: on build failure always print error 2020-11-27 18:02:40 -10:00
target.mk build: filter out more autogenerated kernel config options 2020-11-13 13:18:20 +01:00
toolchain-build.mk toolchain: Include hardening.mk for toolchain build 2019-01-24 21:52:39 +01:00
toplevel.mk build: detect broken make version on macOS 2020-11-14 14:48:30 +01:00
trusted-firmware-a.mk build: Extract trusted-firmware-a.mk 2020-12-02 23:46:01 +01:00
u-boot.mk u-boot.mk: switch download to https 2020-04-26 21:20:47 +02:00
uclibc++.mk libcxx[abi]: remove 2020-12-07 10:46:43 -10:00
unpack.mk build: add zstd support to pack/unpack functions 2020-05-31 11:03:30 +02:00
verbose.mk include/verbose.mk: Add sc to failure message 2018-07-30 10:43:36 +02:00
version.mk build: switch VERSION_REPO to HTTPS 2020-08-31 11:26:10 +01:00