DRAFT ros2_distro.bbclass: Process *.cmake files for sysroots

This commit is contained in:
JeongBong Seo 2019-04-05 15:09:09 +09:00 committed by Herb Kuta
parent 64236bb734
commit 18d5b019d8
1 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,6 @@ inherit ros_distro
# 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)
# *.cmake files has hardcoded sysroot-s in them. We assume this is only an issue with ROS 2.
SSTATE_SCAN_FILES_append = " *.cmake"