All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] bbclass for automatic generation of binary recipes
@ 2013-05-08  5:53 Erik Botö
  2013-05-08  6:11 ` Robert Yang
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Botö @ 2013-05-08  5:53 UTC (permalink / raw)
  To: openembedded-core

Hi,

Background:
If you use OE to build software which includes e.g. a closed source
library, but still want to others to be able to build software based
on that library in a OE environment you would have to create recipes
that contains a binary version of your library + headers manually.
This would have to be done manually for each package, and as the
development of the library continues the binary recipes will have to
be manually updated to keep in sync.

Idea:
Create a new bbclass that handles this automatically as much as
possible. The basic idea is to:
- Create a tarball of ${WORKDIR}/image/ alternatively
  ${WORKDIR}/packages-split/
- By parsing the "source recipe", create a "binary recipe" that uses
that tarball

The binary recipe should work as a drop in replacement of the source
recipe. This means that the other recipes depending on the closed
source software shouldn't need to be adapted to work with one or the
other.

I'd like feedback on whether you think the idea is feasible, and if
you think it could be useful for others. And anything else you think
of.

Cheers,
Erik Botö



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-08  8:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08  5:53 [RFC] bbclass for automatic generation of binary recipes Erik Botö
2013-05-08  6:11 ` Robert Yang
2013-05-08  6:36   ` Erik Botö
2013-05-08  7:12     ` Robert Yang
2013-05-08  7:35       ` Erik Botö
2013-05-08  8:01         ` Robert Yang
2013-05-08  8:26           ` Erik Botö

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.