ros.bbclass: separating setup for faulty solibs from ros setup
This commit is contained in:
parent
b951f44f0b
commit
df2f56cfa4
|
@ -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']}"
|
||||||
|
|
||||||
|
|
|
@ -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}"
|
|
@ -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
|
||||||
|
|
||||||
S = "${WORKDIR}/${ROS_SP}"
|
S = "${WORKDIR}/${ROS_SP}"
|
||||||
|
|
||||||
inherit cmake ros
|
inherit cmake ros faulty-solibs
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
S = "${WORKDIR}/${ROS_SP}"
|
S = "${WORKDIR}/${ROS_SP}"
|
||||||
|
|
||||||
inherit cmake ros
|
inherit cmake ros faulty-solibs
|
||||||
|
|
|
@ -11,4 +11,4 @@ require urdfdom.inc
|
||||||
|
|
||||||
S = "${WORKDIR}/${ROS_SP}"
|
S = "${WORKDIR}/${ROS_SP}"
|
||||||
|
|
||||||
inherit ros cmake
|
inherit cmake ros faulty-solibs
|
||||||
|
|
Loading…
Reference in New Issue