From a4bc3005c5e971a5dc104efb41dd54daddf21ff3 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Fri, 10 May 2019 14:03:40 -0700 Subject: [PATCH] DRAFT {dashing} Add ros-workspace-0.7.1-1.inc (copy from ros-workspace-0.6.1.inc) --- .../ros-workspace/ros-workspace-0.7.1-1.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 includes-ros2/ros-workspace/ros-workspace-0.7.1-1.inc diff --git a/includes-ros2/ros-workspace/ros-workspace-0.7.1-1.inc b/includes-ros2/ros-workspace/ros-workspace-0.7.1-1.inc new file mode 100644 index 0000000..804da0d --- /dev/null +++ b/includes-ros2/ros-workspace/ros-workspace-0.7.1-1.inc @@ -0,0 +1,16 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +# ros-workspace is a ament dependent package but they use 'cmake' as build_type. +ROS_BUILD_TYPE = "ament_cmake" +ROS_BUILD_DEPENDS_remove = "ament-cmake-core" +ROS_BUILD_DEPENDS_remove = "ament-package" +ROS_BUILDTOOL_DEPENDS += " \ + ament-cmake-core-native \ + ament-package-native \ +" + +# The package find files from CMAKE_INSTALL_PREFIX that is just absolute "/usr". +# Need to pass the native sysroot folder path. +export STAGING_DIR_NATIVE +FILESEXTRAPATHS_prepend := "${THISDIR}/ros-workspace:" +SRC_URI_append = " file://0001-Don-t-use-CMAKE_INSTALL_PREFIX-as-sysroot-for-cross-.patch"