[bitbake-devel] Overriding bitbake functions

vijaikumar k vijaikumar.k at mistralsolutions.com
Wed Jun 7 06:27:56 UTC 2017


Thanks Paul. That was really helpful.

On Jun 7, 2017 11:56 AM, "Paul Eggleton" <paul.eggleton at linux.intel.com>
wrote:

> On Tuesday, 6 June 2017 9:16:02 AM CEST vijaikumar k wrote:
> > I need to override an append function in bitbake. Just wondering if
> > there is a way to do it.
> >
> > do_configure()
> > do_configure_append()
> > do_configure_append_mymachine()
> >
> > I want to replace/override do_configure_append() with
> > do_configure_append_mymachine(). Is this possible? I do not want to
> > disturb do_configure and do_configure_append function. All the
> > functions are in the same bb file.
>
> _append operations stack up, they can't override eachother, so if MACHINE
> is
> "mymachine" then the final do_configure that gets executed will consist of
> do_configure, do_configure_append, and do_configure_append_mymachine. You
> should set the contents of those accordingly.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170607/5fdd1bdf/attachment-0002.html>


More information about the bitbake-devel mailing list