Skip to content
Snippets Groups Projects
Commit 9606c209 authored by Stefan Herbrechtsmeier's avatar Stefan Herbrechtsmeier
Browse files

catkin.bbclass: Stage /usr/etc sysroot direcotry


The CMake generate_messages function from the genmsg package
detects the installed message generators via files in the
/usr/etc/ros/genmsg directory. Stage the /usr/etc directory
manually as it is not a common path.

Fixed #50

Signed-off-by: default avatarStefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
parent 26571f80
No related branches found
No related tags found
No related merge requests found
......@@ -45,4 +45,10 @@ FILES_${PN}-dev += "\
${datadir}/${ROS_BPN}/*.template \
"
SYSROOT_PREPROCESS_FUNCS += "catkin_sysroot_preprocess"
catkin_sysroot_preprocess () {
sysroot_stage_dir ${D}${prefix}/etc ${SYSROOT_DESTDIR}${prefix}/etc
}
BBCLASSEXTEND += "native"
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