DRAFT Add ros2_distro.bbclass

This commit is contained in:
Herb Kuta 2019-03-14 19:09:03 -07:00
parent ede7b54d8b
commit 64236bb734
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# Copyright (c) 2019 LG Electronics, Inc.
inherit ros_distro
# Place metadata unique to ROS 2 distros here.
# ROS1_COMPONENTS is set in conf/ros-distro/ros-distro.conf .
def ros_distro__get_component_type(component, d):
return bb.utils.contains('ROS1_COMPONENTS', component, 'ros1', 'ros2', d)