[oe] [meta-oe][PATCH v3] mraa/upm: enable nodejs bindings by default

Khem Raj raj.khem at gmail.com
Sat Oct 21 15:39:57 UTC 2017


On Fri, Oct 20, 2017 at 3:53 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> Fails to build:
> http://errors.yoctoproject.org/Errors/Details/157425/
>

and fails on musl too

http://errors.yoctoproject.org/Errors/Build/47646/


> On Tue, Oct 17, 2017 at 2:12 PM, Mikko Ylinen <mikko.ylinen at linux.intel.com>
> wrote:
>
>> Hi,
>>
>>
>>
>> On 17/10/17 15:07, Martin Jansa wrote:
>>
>>> On Tue, Oct 17, 2017 at 02:55:39PM +0300, Mikko Ylinen wrote:
>>>
>>>> HAVE_NODEJS is a leftover from meta-refkit-core where the
>>>> layer had to adapt to different BBLAYER combinations (some
>>>> where nodejs wasn't available but mraa/upm were).
>>>>
>>>> Since that check is no longer needed and nodejs is in fact
>>>> part of meta-oe, nodejs bindings can be enabled by default
>>>> (with exceptions for armv4 and armv5 where nodejs isn't
>>>> available).
>>>>
>>>> Signed-off-by: Mikko Ylinen <mikko.ylinen at linux.intel.com>
>>>> ---
>>>>   meta-oe/recipes-extended/mraa/mraa_git.bb | 6 +++++-
>>>>   meta-oe/recipes-extended/upm/upm_git.bb   | 6 +++++-
>>>>   2 files changed, 10 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb
>>>> b/meta-oe/recipes-extended/mraa/mraa_git.bb
>>>> index 616048fac..b93fd72c8 100644
>>>> --- a/meta-oe/recipes-extended/mraa/mraa_git.bb
>>>> +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
>>>> @@ -31,7 +31,11 @@ FILES_${PN}-utils = "${bindir}/"
>>>>   # override this in local.conf to get needed bindings.
>>>>   # BINDINGS_pn-mraa="python"
>>>>   # will result in only the python bindings being built/packaged.
>>>> -BINDINGS ??= "python ${@ 'nodejs' if oe.types.boolean(d.getVar('HAVE_NODEJS')
>>>> or '0') else '' }"
>>>> +BINDINGS ??= "python nodejs"
>>>> +
>>>> +# nodejs isn't available for armv4/armv5 architectures
>>>> +BINDINGS_armv4 ??= "python"
>>>> +BINDINGS_armv5 ??= "python"
>>>>
>>> Still missing one, aren't you?
>>>
>>>
>> With qemumips64 I got:
>>
>> ERROR: Nothing PROVIDES 'mraa'
>> mraa was skipped: incompatible with host mips64-refkit-linux (not in
>> COMPATIBLE_HOST)
>>
>> So I left it out.
>>
>> -- Mikko
>>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list