[OE-core] How to reuse code in oe-core environment
Khem Raj
raj.khem at gmail.com
Wed Jun 29 23:57:11 UTC 2011
On Wed, Jun 29, 2011 at 4:02 PM, Andreas Mueller <schnitzeltony at gmx.de> wrote:
> Hi,
>
> I am playing around with oe-core try to find a way of reusing code for multiple
> recipes. In oe I did create foo.inc with
>
> foo() {
> # code to reuse
> }
>
> and called foo from several recipes. In oe-core the run.* scripts are much more
> stripped of unnecessary. All the code included by 'require' seems to miss, so
> the function foo() will not be found.
>
> My searches for examples did not lead to a hook so what is the suggested
> solution for reusing code for multiple recipes in oe-core?
>
hmm do u mean something like what busybox recipe is doing as an example.
or did I misunderstand
> regards
>
> Andreas
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list