From 3ece44c39cb17f0b3a521199daffcd02dca17dca Mon Sep 17 00:00:00 2001 From: JeongBong Seo Date: Wed, 3 Apr 2019 20:26:44 +0900 Subject: [PATCH] DRAFT yaml-cpp-vendor.inc: Adjust FILES, FILES-dev for non-standard prefix Assume that ROS has done this for a good reason; there's no reason to have a different value for prefix under OE. --- .../yaml-cpp-vendor/yaml-cpp-vendor.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 includes-ros2/yaml-cpp-vendor/yaml-cpp-vendor.inc diff --git a/includes-ros2/yaml-cpp-vendor/yaml-cpp-vendor.inc b/includes-ros2/yaml-cpp-vendor/yaml-cpp-vendor.inc new file mode 100644 index 0000000..66de9c0 --- /dev/null +++ b/includes-ros2/yaml-cpp-vendor/yaml-cpp-vendor.inc @@ -0,0 +1,16 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +# This is the tree under which CMakeLists.txt installs the files. Assume it's been done for a good reason. +ROS_PREFIX = "${prefix}/opt/${ROS_BPN}" + +SYSROOT_DIRS_append = " ${ROS_PREFIX}" + +FILES_${PN}_prepend = "${ROS_PREFIX}/lib/libyaml-cpp.so* " + +FILES_${PN}-dev_prepend = " \ + ${ROS_PREFIX}/include \ + ${ROS_PREFIX}/lib/cmake \ + ${ROS_PREFIX}/lib/pkgconfig \ +" + +INSANE_SKIP_${PN} = "dev-so libdir"