[Buildroot] [PATCH v2 1/1] manual: add virtual package tutorial.
Eric Le Bihan
eric.le.bihan.dev at free.fr
Mon Feb 24 10:00:48 UTC 2014
Yann, All,
On Sun, Feb 23, 2014 at 08:04:07PM +0100, Yann E. MORIN wrote:
> Eric, All,
>
> On 2014-02-19 15:19 +0100, Eric Le Bihan spake thusly:
> > On Tue, Feb 18, 2014 at 09:34:41PM +0100, Samuel Martin wrote:
> > [...]
> > > > +[[virtual-package-tutorial]]
> > > > +How to add a virtual package
> > > > +^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > > +
> > > > +In Buildroot, a virtual package is a package whose functionalities are
> > > > +provided by one or more packages, referred to as 'providers'.
> > > > +
> > > > +For example, 'OpenGL ES' is an API for 2D and 3D graphics on embedded systems.
> > > > +The implementation of this API is different for the 'Allwinner Tech Sunxi' and
> > > > +the 'Texas Instruments OMAP35xx' plaftorms. So +libgles+ will be a virtual
> > > > +package and +sunxi-mali+ and +ti-gfx+ will be the providers.
> > >
> > > The generic way of presenting the virtual/provider "infra" in Buildroot is:
> > > we want to use the virtual/provider infrastructure when there is one
> > > API, but several packages implementing this API, so we want an
> > > extensible mechanism allowing to choose what implementation we want in
> > > the target rootfs.
> > I will update the text in order to put emphasis on this idea.
>
> How are your changes going?
>
> There are quite a few improvements to the manual being upstreamed. Your
> changes would make for another nice addition.
>
> Do you think you could resubmit sometime next week, so this has a chance
> to go in before the release?
I sent a patch series intended for the next branch, which features:
- a new version of the dependency check in the virtual package infra (less
shell script, more make functions). All the virtual packages have been
updated.
- a new version of the tutorial, which includes the fixes.
But I can provide a version of the tutorial for the current version of virtual
infra for current branch if needed.
Best regards,
ELB
More information about the buildroot
mailing list