Commit 746d58bb authored by Herb Kuta's avatar Herb Kuta
Browse files

ros_component.bbclass: Use ??= when assigning ROS_BPN, ROS_SPN, ROS_SP

Showing with 3 additions and 3 deletions
+3 -3
......@@ -10,9 +10,9 @@ export ROS_PYTHON_VERSION
# in generated-ros-distro.inc, ie, it will never be unset when we get here.
PYTHON_PN ??= "${@'python3' if d.getVar('ROS_PYTHON_VERSION', True) == '3' else 'python'}"
ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_SPN ?= "${ROS_BPN}"
ROS_SP = "${ROS_SPN}-${PV}"
ROS_BPN ??= "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_SPN ??= "${ROS_BPN}"
ROS_SP ??= "${ROS_SPN}-${PV}"
inherit faulty-solibs
FILES_${PN}_prepend = " \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment