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: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
This commit is contained in:
parent
26571f80f2
commit
9606c20935
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue