Skip to content
Snippets Groups Projects
Commit ff4eff09 authored by Stefan Herbrechtsmeier's avatar Stefan Herbrechtsmeier Committed by Lukas Bulwahn
Browse files

ros.bbclass: Move common ros code into its own class

parent cd169773
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Copyright (c) 2013 Stefan Herbrechtsmeier, Bielefeld University
#
inherit cmake distutils-base
inherit cmake distutils-base ros
DEPENDS_prepend = "${@['catkin-native ', ''][d.getVar('BPN', True) == 'catkin']}"
......@@ -28,33 +28,6 @@ OECMAKE_BUILDPATH = "${S}/build"
export BUILD_SYS
export HOST_SYS
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"
ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_BP = "${ROS_BPN}-${PV}"
FILES_${PN} += "\
${prefix}/etc \
${datadir}/ros/config/${ROS_BPN}.config \
${datadir}/${ROS_BPN} \
"
FILES_${PN}-dev += "\
${datadir}/${ROS_BPN}/cmake \
${datadir}/${ROS_BPN}/*.template \
"
FILES_${PN}-dbg += "\
${libdir}/${ROS_BPN}/.debug/* \
"
PACKAGES += "${PN}-commonlisp"
FILES_${PN}-commonlisp += " \
${datadir}/common-lisp/ \
"
SYSROOT_PREPROCESS_FUNCS += "catkin_sysroot_preprocess"
catkin_sysroot_preprocess () {
......
#
# Copyright (c) 2013 Stefan Herbrechtsmeier, Bielefeld University
#
ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_BP = "${ROS_BPN}-${PV}"
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"
FILES_${PN} += "\
${prefix}/etc \
${datadir}/ros/config/${ROS_BPN}.config \
${datadir}/${ROS_BPN} \
"
FILES_${PN}-dev += "\
${datadir}/${ROS_BPN}/cmake \
${datadir}/${ROS_BPN}/*.template \
"
FILES_${PN}-dbg += "\
${libdir}/${ROS_BPN}/.debug/* \
"
PACKAGES += "${PN}-commonlisp"
FILES_${PN}-commonlisp += " \
${datadir}/common-lisp/ \
"
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