2019-03-27 03:20:28 +08:00
|
|
|
# Copyright (c) 2019 LG Electronics, Inc.
|
|
|
|
|
2019-03-26 07:14:11 +08:00
|
|
|
ROS_BUILD_DEPENDS_remove = "python-numpy"
|
|
|
|
ROS_BUILD_DEPENDS_remove = "python3-numpy"
|
|
|
|
|
|
|
|
ROS_BUILDTOOL_DEPENDS += " \
|
|
|
|
${PYTHON_PN}-numpy-native \
|
|
|
|
"
|
|
|
|
|
2019-03-27 03:20:28 +08:00
|
|
|
# This option disables python2 support because we can't support both python2
|
|
|
|
# and python3 since OE upstream has disabled python2 bindings in Boost.
|
2019-04-03 21:36:37 +08:00
|
|
|
EXTRA_OECMAKE =+ "${@'-DANDROID=ON' if d.getVar('PYTHON_PN', True) != 'python3' else ''}"
|
|
|
|
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/cv-bridge:"
|
|
|
|
SRC_URI_append = " file://0001-Fix-configure-error-for-python.patch"
|