diff --git a/classes/catkin.bbclass b/classes/catkin.bbclass index e34178f..8d487e3 100644 --- a/classes/catkin.bbclass +++ b/classes/catkin.bbclass @@ -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"