catkin.bbclass: make expression more readable
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
This commit is contained in:
parent
832216e0a2
commit
efd6e9e1ef
|
@ -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}' \
|
||||
|
|
Loading…
Reference in New Issue