[Buildroot] [PATCH 2/2] python-falcon: new package
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Aug 29 20:37:01 UTC 2018
Hello,
On Wed, 29 Aug 2018 22:25:30 +0200, Grzegorz Blach wrote:
> If BR2_PACKAGE_HOST_PYTHON_CYTHON is enabled in config, Falcon uses
> Cython to compile own code. Cython on target is not required in this
> case.
OK.
> Settings PYTHON_FALCON_DEPENDENCIES += host-python-cython
> in python-falcon/Config.in also is not required, but may be usable to
> guarantee, that host-python-cython is always installed
> before python-falcon.
Actually our policy is that when a package A can optionally be used by
package B, then package B should have a dependency on package A when
package A is enabled, which is what Joseph was suggesting.
This ensures that package B gets the additional feature
provided/enabled by package A, regardless of the package build order,
and generally makes sure that the features provided by package A
benefits all package that can make use of it.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list