diff options
-rw-r--r-- | meta-oe/recipes-extended/mraa/mraa_git.bb | 8 | ||||
-rw-r--r-- | meta-oe/recipes-extended/upm/upm_git.bb | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index 616048fac9..c4b9c6f90e 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb | |||
@@ -31,7 +31,13 @@ FILES_${PN}-utils = "${bindir}/" | |||
31 | # override this in local.conf to get needed bindings. | 31 | # override this in local.conf to get needed bindings. |
32 | # BINDINGS_pn-mraa="python" | 32 | # BINDINGS_pn-mraa="python" |
33 | # will result in only the python bindings being built/packaged. | 33 | # will result in only the python bindings being built/packaged. |
34 | BINDINGS ??= "python ${@ 'nodejs' if oe.types.boolean(d.getVar('HAVE_NODEJS') or '0') else '' }" | 34 | # Note: 'nodejs' is disabled by default because the bindings |
35 | # generation currently fails with nodejs (>v7.x). | ||
36 | BINDINGS ??= "python" | ||
37 | |||
38 | # nodejs isn't available for armv4/armv5 architectures | ||
39 | BINDINGS_armv4 ??= "python" | ||
40 | BINDINGS_armv5 ??= "python" | ||
35 | 41 | ||
36 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ | 42 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ |
37 | ${@bb.utils.contains('PACKAGES', '${PYTHON_PN}-${PN}', 'python', '', d)}" | 43 | ${@bb.utils.contains('PACKAGES', '${PYTHON_PN}-${PN}', 'python', '', d)}" |
diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb index 38065ce534..a5c2bb3211 100644 --- a/meta-oe/recipes-extended/upm/upm_git.bb +++ b/meta-oe/recipes-extended/upm/upm_git.bb | |||
@@ -26,7 +26,13 @@ inherit distutils3-base cmake | |||
26 | # override this in local.conf to get needed bindings. | 26 | # override this in local.conf to get needed bindings. |
27 | # BINDINGS_pn-upm="python" | 27 | # BINDINGS_pn-upm="python" |
28 | # will result in only the python bindings being built/packaged. | 28 | # will result in only the python bindings being built/packaged. |
29 | BINDINGS ??= "python ${@ 'nodejs' if oe.types.boolean(d.getVar('HAVE_NODEJS') or '0') else '' }" | 29 | # Note: 'nodejs' is disabled by default because the bindings |
30 | # generation currently fails with nodejs (>v7.x). | ||
31 | BINDINGS ??= "python" | ||
32 | |||
33 | # nodejs isn't available for armv4/armv5 architectures | ||
34 | BINDINGS_armv4 ??= "python" | ||
35 | BINDINGS_armv5 ??= "python" | ||
30 | 36 | ||
31 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ | 37 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ |
32 | ${@bb.utils.contains('PACKAGES', '${PYTHON_PN}-${PN}', 'python', '', d)}" | 38 | ${@bb.utils.contains('PACKAGES', '${PYTHON_PN}-${PN}', 'python', '', d)}" |