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

This commit is contained in:
Lukas Bulwahn 2014-05-30 08:06:31 +02:00
parent b951f44f0b
commit df2f56cfa4
7 changed files with 10 additions and 8 deletions

View File

@ -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']}"

View File

@ -0,0 +1,5 @@
# 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}"

View File

@ -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 \

View File

@ -18,4 +18,4 @@ SRC_URI[sha256sum] = "d4bdd0b6bce0c6fa9ff18b8926d4953161451bc49dd11497211eb1a62c
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit cmake ros inherit cmake ros faulty-solibs

View File

@ -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"

View File

@ -10,4 +10,4 @@ SRC_URI[sha256sum] = "6b1f27b002c6d897b43ed57988133f40aac093a2a6e84d9bf08ed36a13
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit cmake ros inherit cmake ros faulty-solibs

View File

@ -11,4 +11,4 @@ require urdfdom.inc
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit ros cmake inherit cmake ros faulty-solibs