diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-11 22:01:41 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-14 15:33:43 +0200 |
commit | 055335bf49dbcb8c149bdcd4e96004c68e6b6ece (patch) | |
tree | f5ecee7355ce8b060359c6e6230a6d13ee92dfa6 /test/pipeline/ipu3 | |
parent | 744fabcbb938d60cdbc0dfadc625bbd6798c2485 (diff) |
libcamera: gen-controls.py: Don't hardcode path to python interpreter
The gen-controls.py script hardcodes the path to the python interpreter
to /usr/bin/python3 in the first line of the script. This hardcodes
usage of the host python3, even when building in cross-compilation
environments that may ship their own version of python. Fix it by
setting the interpreter to '/usr/bin/env python3'.
Reported-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Suggested-by: Nicolas Dufresne <nicolas@ndufresne.ca>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/pipeline/ipu3')
0 files changed, 0 insertions, 0 deletions