diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2019-07-10 20:29:44 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2019-07-11 12:22:40 +0900 |
commit | 10ec09025d6f52f2c1d0ba6b7e6943a603a386d9 (patch) | |
tree | 88155bb4924380641b1212219f5b697b121177ca /test/media_device/meson.build | |
parent | 6a27bd33879970e182949ad2010687886d2dc671 (diff) |
libcamera: skip auto version generation when building for Chromium OS
Commit b817bcec6b53 ("libcamera: Auto generate version information")
causes the build to fail in the Chromium OS build environment, because
git update-index tries to take a lock (ie. write) in the git repo that
is outside of the build directory.
The solution is to simply skip git update-index if we are building in
the Chromium OS build environment, and this decision is made if the
build directory is not a subdirectory of the source directory.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/media_device/meson.build')
0 files changed, 0 insertions, 0 deletions