aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-04-12 09:42:01 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-18 14:21:40 +0200
commitfa943b1138b4c7cc1cb9750ff4ae07f7c10f4529 (patch)
tree6b0146d9f7a1eb09f547192cd170ec2f5e0afa5a
parent2688cbadeb71a7331c924f7f6b109fc53b813231 (diff)
downloadmeta-openembedded-contrib-fa943b1138b4c7cc1cb9750ff4ae07f7c10f4529.tar.gz
meta-openembedded-contrib-fa943b1138b4c7cc1cb9750ff4ae07f7c10f4529.tar.bz2
meta-openembedded-contrib-fa943b1138b4c7cc1cb9750ff4ae07f7c10f4529.zip
opencv: correct subpackage name for multilib
Subpackage python3-${PN} is not right for multilib and it will be extended to such as lib32-python3-lib32-opencv. Replace PN with BPN to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/opencv/opencv_3.2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb b/meta-oe/recipes-support/opencv/opencv_3.2.bb
index b5b496825b..2cff212ab0 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
@@ -97,8 +97,8 @@ TARGET_CC_ARCH += "-I${S}/include "
PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'samples', '${PN}-samples', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'java', '${PN}-java', '', d)} \
- ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python-${PN}', '', d)} \
- ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${PN}', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python-${BPN}', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${BPN}', '', d)} \
${PN}-apps"
python populate_packages_prepend () {