-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{common}{ros2} Add ROS opt prefix to PYTHONPATH
In order for Python to find modules in the recipe-sysroot we must add the path to PYTHONPATH. However, we must prepend the path to any previous values of PYTHONPATH. We cannot refer to the variable in its own definition since bitbake does not evaluate strings in that way. Instead we must mimick python3targetconfig.bbclass and prepend to the recipe tasks to conditionally set PYTHONPATH in the shell context. Signed-off-by: Rob Woolley <[email protected]>
- Loading branch information
1 parent
18b6f67
commit 928b66f
Showing
2 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters