tf: disable python support for python3-based ROS
tf supports only python2 thus disable it if we build python3-based ROS. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
This commit is contained in:
parent
c171488a63
commit
2e90a00cbc
|
@ -10,3 +10,7 @@ require geometry.inc
|
|||
SRC_URI += "file://0001-Fix-stdlib.h-No-such-file-or-directory-errors-in-GCC.patch;striplevel=2"
|
||||
|
||||
RDEPENDS_${PN} = "${PYTHON_PN}-numpy"
|
||||
|
||||
# This option disables python support in case of python3 flavour of ROS because
|
||||
# only python2 is supported by tf.
|
||||
EXTRA_OECMAKE =+ "${@'-DANDROID=ON' if d.getVar('PYTHON_PN', True) == 'python3' else ''}"
|
||||
|
|
Loading…
Reference in New Issue