From 13069b1a1dcbef0bb9b42db98025fa9203283220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Wed, 3 Mar 2021 19:48:55 +0100 Subject: build: add which command to build requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 ... Checking 'python3'... failed. So make `which` utility host build requirement. References: PR#3820 FS#3525 Signed-off-by: Petr Štetiar --- include/prereq-build.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/prereq-build.mk b/include/prereq-build.mk index bbeba3f8ff..32edc6e437 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -166,6 +166,9 @@ $(eval $(call SetupHostCommand,file,Please install the 'file' package, \ $(eval $(call SetupHostCommand,rsync,Please install 'rsync', \ rsync --version