[Buildroot] [PATCH 2/2] soletta: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 18 10:16:37 UTC 2016


Hello,

Please keep the Buildroot mailing list in Cc when replying.

On Sun, 18 Dec 2016 11:07:25 +0100, Fabrice Fontaine wrote:

> > Have all those patches been submitted upstream?
> >  
> Only the first patch has been accepted upstream, I was working to integrate
> a second one but the project seems less active (no updates since November
> 13th) so this is still work in progress.

OK, thanks. At least it's in progress, which is good.

> > SOLETTA_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-
> > python3,host-python)
> >  
> My issue is that soletta depends on host-python3, it will not build with
> host-python. However, if I do not also select python3 (which is not really
> needed at runtime), then host-python-jsonschema will be compiled for the
> default host-python interpreter which is host-python2. So, my issue is that
> I can not add a dependency on host-python*3*-jsonschema as this is not
> supported by buildroot.

It really depends on python3 ? No way to make it compatible with
python2 ?

If it really needs host-python3, then yes, we don't have any other
choice than doing what you did.

> I do not get this error, it seems that it is raised because the Makefile
> uses multiple targets inside a rule, for example:
> $(soletta_target) $(soletta_config): private export
> BOARD_NAME:=$(BOARD_NAME)
> 
> I think that multiple targets inside a rule is not supported by old
> versions of make, so it seems I will have to add another patch ;-)

I was testing on my autobuilder instance, which runs an old Debian. It
uses make 3.81.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list