diff --git a/meta-openeuler/dynamic-layers/ros2-layer/recipes-ros/fastrtps/fastrtps_%.bbappend b/meta-openeuler/dynamic-layers/ros2-layer/recipes-ros/fastrtps/fastrtps_%.bbappend index e780810290626893cd08c3263313f0c65e388ea9..6f86dd55db549fff27a243eb750a9d6b422ff13f 100644 --- a/meta-openeuler/dynamic-layers/ros2-layer/recipes-ros/fastrtps/fastrtps_%.bbappend +++ b/meta-openeuler/dynamic-layers/ros2-layer/recipes-ros/fastrtps/fastrtps_%.bbappend @@ -1,5 +1,21 @@ +# the main bb file: yocto-meta-ros/meta-ros2-humble/generated-recipes/fastrtps/fastrtps_2.6.2-1.bb +SRC_URI:remove = " \ + git://github.com/ros2-gbp/fastrtps-release;${ROS_BRANCH};protocol=https \ +" +PV = "2.6.4" +SRC_URI:prepend = " \ + file://Fast-DDS/ros-humble-${BPN}_${PV}.orig.tar.gz \ +" +S = "${WORKDIR}/ros-humble-${BP}" + +SYSROOT_DIRS += "/usr/lib" + + +FILES:${PN} += "/usr/lib/*" + # set "SM_RUN_RESULT" and "SM_RUN_RESULT__TRYRUN_OUTPUT" to fix: # | CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: # | SM_RUN_RESULT (advanced) # | SM_RUN_RESULT__TRYRUN_OUTPUT (advanced) EXTRA_OECMAKE += "-DSM_RUN_RESULT=false -DSM_RUN_RESULT__TRYRUN_OUTPUT=false" +