catkin.bbclass: add native support to catkin packages

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
This commit is contained in:
Stefan Herbrechtsmeier 2013-03-13 17:20:23 +01:00
parent 9e5d149573
commit 0fb09bfd91
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,6 @@ inherit cmake distutils-base
DEPENDS_prepend = "${@['catkin-native ', ''][d.getVar('BPN', True) == 'catkin']}"
EXTRA_OECMAKE_CATKIN = "\
-DCMAKE_PREFIX_PATH='${STAGING_DIR_HOST}/usr;${STAGING_DIR_NATIVE}/usr' \
"
@ -47,3 +46,5 @@ FILES_${PN}-dev += "\
${datadir}/${ROS_BPN}/package.xml \
${datadir}/${ROS_BPN}/*.template \
"
BBCLASSEXTEND += "native"