DRAFT ros2_distro.bbclass: Process *.cmake files for sysroots
This commit is contained in:
parent
64236bb734
commit
18d5b019d8
|
@ -7,3 +7,6 @@ inherit ros_distro
|
||||||
# ROS1_COMPONENTS is set in conf/ros-distro/ros-distro.conf .
|
# ROS1_COMPONENTS is set in conf/ros-distro/ros-distro.conf .
|
||||||
def ros_distro__get_component_type(component, d):
|
def ros_distro__get_component_type(component, d):
|
||||||
return bb.utils.contains('ROS1_COMPONENTS', component, 'ros1', 'ros2', 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"
|
||||||
|
|
Loading…
Reference in New Issue