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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2020-05-11 00:23:41 +03:00
parent cfc9e14874
commit 019a145068
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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']