From 019a145068b714482bbf791c0f296abd06ec0dc1 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 11 May 2020 00:23:41 +0300 Subject: meson: Use files() instead of find_program() for internal scripts Using find_program() to locate scripts part of the source tree causes meson to print messages at setup time for each of those scripts: Program ipa-sign.sh found: YES (/home/user/src/libcamera/src/ipa/ipa-sign.sh) This pollutes the meson setup log with useless messages, as we know the scripts are present. Use files() instead to avoid this. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/ipa/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipa/meson.build') diff --git a/src/ipa/meson.build b/src/ipa/meson.build index 56e65eaa..cc3837ab 100644 --- a/src/ipa/meson.build +++ b/src/ipa/meson.build @@ -16,7 +16,7 @@ config_h.set('IPA_MODULE_DIR', subdir('libipa') -ipa_sign = find_program('ipa-sign.sh') +ipa_sign = files('ipa-sign.sh') ipas = ['rkisp1', 'vimc'] -- cgit v1.2.1