Skip to content

Commit

Permalink
bitbake: generate new overrides syntax for RDEPENDS
Browse files Browse the repository at this point in the history
* generate new syntax for OE recipes to match:
  https://lists.openembedded.org/g/openembedded-architecture/message/1260
  https://lists.openembedded.org/g/openembedded-architecture/message/1279
  https://lists.openembedded.org/g/openembedded-architecture/message/1291

* this was already done with conversion script in meta-ros with:
  ros/meta-ros#902
  but for new ROS Distribution releases we want to generate new
  syntax directly with superflore.

* it's not conditional based on OE release series, because all
  currently supported versions (dunfell, hardknott, honister)
  do support new syntax (when latest bitbake revision from
  corresponding branch is being used).

* fixes #284

Signed-off-by: Martin Jansa <martin.jansa@lge.com>
  • Loading branch information
shr-project authored and herb-kuta-lge committed Feb 3, 2022
1 parent dd3a9e9 commit 99d3c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superflore/generators/bitbake/yocto_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def get_recipe_text(self, distributor):
ret += ' staged should this package appear in another\'s DEPENDS.\n'
ret += 'DEPENDS += "${ROS_EXPORT_DEPENDS} '
ret += '${ROS_BUILDTOOL_EXPORT_DEPENDS}"\n\n'
ret += 'RDEPENDS_${PN} += "${ROS_EXEC_DEPENDS}"' + '\n\n'
ret += 'RDEPENDS:${PN} += "${ROS_EXEC_DEPENDS}"' + '\n\n'
# SRC_URI
ret += '# matches with: ' + self.src_uri + '\n'
ret += 'ROS_BRANCH ?= "branch=' + self.get_repo_branch_name() + '"\n'
Expand Down

0 comments on commit 99d3c8f

Please sign in to comment.