From 1d40c67d34f16358406251288913e3871252b92a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 16 Aug 2021 07:09:43 -0700 Subject: [PATCH] bitbake: generate new overrides syntax for RDEPENDS * 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: https://github.com/ros/meta-ros/pull/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 https://github.com/ros-infrastructure/superflore/issues/284 Signed-off-by: Martin Jansa --- superflore/generators/bitbake/yocto_recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superflore/generators/bitbake/yocto_recipe.py b/superflore/generators/bitbake/yocto_recipe.py index f1d31b79..fb628e43 100644 --- a/superflore/generators/bitbake/yocto_recipe.py +++ b/superflore/generators/bitbake/yocto_recipe.py @@ -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'