DRAFT Add ros2_distro.bbclass
This commit is contained in:
parent
e91d2f7e40
commit
97b9cbf43a
|
@ -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)
|
Loading…
Reference in New Issue