Skip to content
Snippets Groups Projects
Commit df2f56cf authored by Lukas Bulwahn's avatar Lukas Bulwahn
Browse files

ros.bbclass: separating setup for faulty solibs from ros setup

parent b951f44f
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Copyright (c) 2013 Stefan Herbrechtsmeier, Bielefeld University # Copyright (c) 2013 Stefan Herbrechtsmeier, Bielefeld University
# #
inherit cmake distutils-base ros inherit cmake distutils-base ros faulty-solibs
DEPENDS_prepend = "${@['catkin-native ', ''][d.getVar('BPN', True) == 'catkin']}" DEPENDS_prepend = "${@['catkin-native ', ''][d.getVar('BPN', True) == 'catkin']}"
......
# Ideally, the software packages upstream should be fixed to provide dynamic
# libraries with version number and symlinks without version number to them.
# This class sets up bitbake to handle improper set up software packages.
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"
...@@ -7,9 +7,6 @@ ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}" ...@@ -7,9 +7,6 @@ ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_SPN ?= "${ROS_BPN}" ROS_SPN ?= "${ROS_BPN}"
ROS_SP = "${ROS_SPN}-${PV}" ROS_SP = "${ROS_SPN}-${PV}"
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"
FILES_${PN} += "\ FILES_${PN} += "\
${prefix}/etc \ ${prefix}/etc \
${datadir}/ros/config/${ROS_BPN}.config \ ${datadir}/ros/config/${ROS_BPN}.config \
......
...@@ -18,4 +18,4 @@ SRC_URI[sha256sum] = "d4bdd0b6bce0c6fa9ff18b8926d4953161451bc49dd11497211eb1a62c ...@@ -18,4 +18,4 @@ SRC_URI[sha256sum] = "d4bdd0b6bce0c6fa9ff18b8926d4953161451bc49dd11497211eb1a62c
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit cmake ros inherit cmake ros faulty-solibs
...@@ -8,6 +8,6 @@ EXTRA_OECMAKE += "\ ...@@ -8,6 +8,6 @@ EXTRA_OECMAKE += "\
-DCMAKE_SKIP_RPATH=ON \ -DCMAKE_SKIP_RPATH=ON \
" "
inherit cmake ros inherit cmake ros faulty-solibs
ROS_SPN = "octomap" ROS_SPN = "octomap"
...@@ -10,4 +10,4 @@ SRC_URI[sha256sum] = "6b1f27b002c6d897b43ed57988133f40aac093a2a6e84d9bf08ed36a13 ...@@ -10,4 +10,4 @@ SRC_URI[sha256sum] = "6b1f27b002c6d897b43ed57988133f40aac093a2a6e84d9bf08ed36a13
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit cmake ros inherit cmake ros faulty-solibs
...@@ -11,4 +11,4 @@ require urdfdom.inc ...@@ -11,4 +11,4 @@ require urdfdom.inc
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit ros cmake inherit cmake ros faulty-solibs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment