From 0fb09bfd910aa964456f28ab9a06a40ab747f32f Mon Sep 17 00:00:00 2001 From: Stefan Herbrechtsmeier Date: Wed, 13 Mar 2013 17:20:23 +0100 Subject: [PATCH] catkin.bbclass: add native support to catkin packages Signed-off-by: Stefan Herbrechtsmeier --- classes/catkin.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/catkin.bbclass b/classes/catkin.bbclass index e865d50..cde704f 100644 --- a/classes/catkin.bbclass +++ b/classes/catkin.bbclass @@ -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"