From efd6e9e1efb64b8582e75806373b280ace516744 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 7 Apr 2017 14:13:00 +0300 Subject: [PATCH] catkin.bbclass: make expression more readable Signed-off-by: Dmitry Rozhkov --- classes/catkin.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/catkin.bbclass b/classes/catkin.bbclass index 7c55d5d..9f32c0e 100644 --- a/classes/catkin.bbclass +++ b/classes/catkin.bbclass @@ -4,7 +4,7 @@ inherit cmake distutils-base ros faulty-solibs -DEPENDS_prepend = "${@['catkin-native ', ''][(d.getVar('BPN', True) == 'catkin') | (d.getVar('BPN', True) == 'catkin-runtime')]}" +DEPENDS_prepend = "${@'' if (d.getVar('BPN', True) == 'catkin') or (d.getVar('BPN', True) == 'catkin-runtime') else 'catkin-native '}" EXTRA_OECMAKE_CATKIN = "\ -DCMAKE_PREFIX_PATH='${STAGING_DIR_HOST}${ros_prefix};${STAGING_DIR_HOST}${prefix};${STAGING_DIR_NATIVE}${ros_prefix};${STAGING_DIR_NATIVE}${prefix}' \