From: Robert Yang <liezhi.yang@windriver.com>
To: "Erik Botö" <erik.boto@pelagicore.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [RFC] bbclass for automatic generation of binary recipes
Date: Wed, 8 May 2013 15:12:37 +0800 [thread overview]
Message-ID: <5189FAE5.3070600@windriver.com> (raw)
In-Reply-To: <CA+AhUGyN_LX66XE61rtdxS81eCsAy7Ku-F1UwRWuBFrc4=GXAQ@mail.gmail.com>
On 05/08/2013 02:36 PM, Erik Botö wrote:
> Hi,
>
> On Wed, May 8, 2013 at 8:11 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> Is it similar to meta/classes/package.bbclass ?
>>
>> // Robert
>
> I would say it's in addition to package.bbclass.
>
Hi Erik,
Sorry, I meant this one meta/classes/bin_package.bbclass :-)
// Robert
> The idea is that the developers of the closed source software uses OE
> to build their software from source, and in this build process the
> files needed for a binary distribution in OE is automatically
> generated. These generated files can be distributed to others that
> wish to use that closed source software in OE. So it would use some of
> the output from package.bbclass, like the package split, but then
> generate some extra files.
>
> Cheers,
> Erik
>
>
>>
>>
>> On 05/08/2013 01:53 PM, Erik Botö wrote:
>>>
>>> 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ö
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>
>>>
>>
>
>
next prev parent reply other threads:[~2013-05-08 7:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-05-08 7:35 ` Erik Botö
2013-05-08 8:01 ` Robert Yang
2013-05-08 8:26 ` Erik Botö
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5189FAE5.3070600@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=erik.boto@pelagicore.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox