From 18d5b019d8a6c77815d0d09754907ef477034733 Mon Sep 17 00:00:00 2001 From: JeongBong Seo Date: Fri, 5 Apr 2019 15:09:09 +0900 Subject: [PATCH] DRAFT ros2_distro.bbclass: Process *.cmake files for sysroots --- classes/ros2_distro.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/ros2_distro.bbclass b/classes/ros2_distro.bbclass index 425622a..cdd9e1b 100644 --- a/classes/ros2_distro.bbclass +++ b/classes/ros2_distro.bbclass @@ -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"