Skip to content

Commit

Permalink
ros-distro.conf: Remove extra tags in DISTRO and IMAGE vars
Browse files Browse the repository at this point in the history
  • Loading branch information
eigendude committed Nov 24, 2019
1 parent 9a2cde7 commit 0ceca8f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions conf/ros-distro/ros-distro.conf
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,6 @@ require conf/ros-distro/include/${ROS_DISTRO}/ros-distro-recipe-blacklist.inc
require conf/ros-distro/include/${ROS_DISTRO}/ros-distro-preferred-versions.inc


# Give ROS billing in DISTRO_NAME if being used in a foreign DISTRO.
ROS_DISTRO_NAME_PREPEND ?= "${@'' \
if d.getVar('DISTRO', True) == d.getVar('ROS_DISTRO_TYPE', True) else \
'ROS ' + d.getVar('ROS_VERSION', True) + ' with ' \
}"
DISTRO_NAME_prepend = "${ROS_DISTRO_NAME_PREPEND}"

# Append the ROS metadata version to DISTRO_VERSION if being used in a foreign DISTRO.
ROS_OE_DISTRO_VERSION_APPEND ?= "${@'' \
if d.getVar('DISTRO', True) == d.getVar('ROS_DISTRO_TYPE', True) else \
'+' + d.getVar('ROS_DISTRO_METADATA_VERSION', True) \
}"
DISTRO_VERSION_append = "${ROS_OE_DISTRO_VERSION_APPEND}"

# Default to showing DISTRO_NAME and the ROS build environment variable settings in the build configuration.
ROS_EXTRA_BUILDCFG_VARS ?= "DISTRO_NAME ROS_DISTRO ROS_VERSION ROS_PYTHON_VERSION"
BUILDCFG_VARS_append = " ${ROS_EXTRA_BUILDCFG_VARS}"
Expand Down

0 comments on commit 0ceca8f

Please sign in to comment.