DRAFT ros_component.bbclass: Use ??= when assigning ROS_BPN, ROS_SPN, ROS_SP
This commit is contained in:
parent
f1aae31f66
commit
07a8f31cff
|
@ -6,9 +6,9 @@ export ROS_DISTRO
|
|||
export ROS_VERSION
|
||||
export ROS_PYTHON_VERSION
|
||||
|
||||
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}"
|
||||
|
||||
# Ensure that PYTHON_PN is always set. (ROS_PYTHON_VERSION is set in generated-ros-distro.inc, ie, it will never be unset when
|
||||
# we get here.)
|
||||
|
|
Loading…
Reference in New Issue