libcamera: ipa_manager: Fix build path comments

The comments describe functionality before libcameraBuildPath() was
adapted from libcameraPath() to return the root of the build, and
described having to take a relative path.

This is no longer the case, and the comment is inaccurate. Fix it.

Fixes: 1b8ac8473c ("libcamera: utils: Adapt libcameraPath to match use cases")
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2020-04-28 13:10:49 +01:00
parent bcf986d07b
commit 389c19c267

View File

@@ -114,10 +114,7 @@ IPAManager::IPAManager()
/*
* When libcamera is used before it is installed, load IPAs from the
* same build directory as the libcamera library itself. This requires
* identifying the path of the libcamera.so, and referencing a relative
* path for the IPA from that point. We need to recurse one level of
* sub-directories to match the build tree.
* same build directory as the libcamera library itself.
*/
std::string root = utils::libcameraBuildPath();
if (!root.empty()) {