diff --git a/conf/ros-distro/include/crystal/ros-distro-preferred-providers.inc b/conf/ros-distro/include/crystal/ros-distro-preferred-providers.inc index a2b1b4a..c481de0 100644 --- a/conf/ros-distro/include/crystal/ros-distro-preferred-providers.inc +++ b/conf/ros-distro/include/crystal/ros-distro-preferred-providers.inc @@ -4,3 +4,7 @@ # Set PREFERRED_PROVIDER_ here for non-platform packages and to override those set in # ros-distro-platform-preferred-providers.inc . + +PREFERRED_PROVIDER_libyaml = "libyaml-vendor" +PREFERRED_PROVIDER_libyaml-dev = "libyaml-vendor-dev" +PREFERRED_PROVIDER_libyaml-dbg = "libyaml-vendor-dbg" diff --git a/conf/ros-distro/include/crystal/ros-distro-recipe-blacklist.inc b/conf/ros-distro/include/crystal/ros-distro-recipe-blacklist.inc index 3702874..a655cd5 100644 --- a/conf/ros-distro/include/crystal/ros-distro-recipe-blacklist.inc +++ b/conf/ros-distro/include/crystal/ros-distro-recipe-blacklist.inc @@ -45,3 +45,6 @@ ROS_SUPERFLORE_GENERATED_WORLD_PACKAGES_remove = "rmw-opensplice-cpp" ROS_SUPERFLORE_GENERATED_WORLD_PACKAGES_remove = "rosidl-typesupport-opensplice-c" # rosidl-typesupport-cpp.inc removes "rosidl-typesupport-opensplice-cpp" from ROS_BUILD_DEPENDS. ROS_SUPERFLORE_GENERATED_WORLD_PACKAGES_remove = "rosidl-typesupport-opensplice-cpp" + +# Others +PNBLACKLIST[libyaml] ?= "Provided by libyaml-vendor" diff --git a/includes-ros2/libyaml-vendor/libyaml-vendor.inc b/includes-ros2/libyaml-vendor/libyaml-vendor.inc index 4616889..05fc917 100644 --- a/includes-ros2/libyaml-vendor/libyaml-vendor.inc +++ b/includes-ros2/libyaml-vendor/libyaml-vendor.inc @@ -2,3 +2,6 @@ FILES_${PN}-dev_prepend = "${prefix}/cmake " SYSROOT_DIRS_append = " ${prefix}/cmake" + +PROVIDES_crystal += "libyaml" +RPROVIDES_${PN}_crystal += "libyaml"