From 70c58b2bee6ef3102a2be7437dd3e928e49befcc Mon Sep 17 00:00:00 2001 From: zhang_wenyu1 Date: Wed, 11 Dec 2024 11:33:06 +0800 Subject: [PATCH] openeuler: modify fastrtps_%.bbappend 1. modify fastrtps_%.bbappend Signed-off-by: zhang_wenyu --- .../recipes-ros/fastrtps/fastrtps_%.bbappend | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 e7808102906..6f86dd55db5 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" + -- Gitee