All of lore.kernel.org
 help / color / mirror / Atom feed
* Extending recipes
@ 2010-12-15 17:33 Gary Thomas
  2010-12-15 17:57 ` Chris Larson
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2010-12-15 17:33 UTC (permalink / raw)
  To: Poky

I have a number of recipes that are in the Poky core that
need a little extending for my environment.  Mostly, this
can be done with a .bbappend file, but some are a bit trickier.

For example, in meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.16.bb
there are a couple of lines which control how this package is
configured and built.  In particular:
   DEPENDS += "gst-plugins-base libid3tag libmad mpeg2dec liba52 lame"
   EXTRA_OECONF += "--with-plugins=a52dec,lame,id3tag,mad,mpeg2dec,mpegstream,mpegaudioparse,asfdemux,realmedia"
In my case, I want to have the h264 encoder/decoder built as well.
I don't see a [good?] way to change these lines to be effectively:
   DEPENDS += "gst-plugins-base libid3tag libmad mpeg2dec liba52 lame x264"
   EXTRA_OECONF += "--with-plugins=a52dec,lame,id3tag,mad,mpeg2dec,mpegstream,mpegaudioparse,asfdemux,realmedia,x264"

The DEPENDS variable is easy enough to extend in .bbappend,
but how should I handle EXTRA_OECONF?

Thanks for any ideas

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Extending recipes
  2010-12-15 17:33 Extending recipes Gary Thomas
@ 2010-12-15 17:57 ` Chris Larson
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Larson @ 2010-12-15 17:57 UTC (permalink / raw)
  To: Poky

On Wed, Dec 15, 2010 at 10:33 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> I have a number of recipes that are in the Poky core that
> need a little extending for my environment.  Mostly, this
> can be done with a .bbappend file, but some are a bit trickier.
>
> For example, in
> meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.16.bb
> there are a couple of lines which control how this package is
> configured and built.  In particular:
>  DEPENDS += "gst-plugins-base libid3tag libmad mpeg2dec liba52 lame"
>  EXTRA_OECONF +=
> "--with-plugins=a52dec,lame,id3tag,mad,mpeg2dec,mpegstream,mpegaudioparse,asfdemux,realmedia"
> In my case, I want to have the h264 encoder/decoder built as well.
> I don't see a [good?] way to change these lines to be effectively:
>  DEPENDS += "gst-plugins-base libid3tag libmad mpeg2dec liba52 lame x264"
>  EXTRA_OECONF +=
> "--with-plugins=a52dec,lame,id3tag,mad,mpeg2dec,mpegstream,mpegaudioparse,asfdemux,realmedia,x264"
>
> The DEPENDS variable is easy enough to extend in .bbappend,
> but how should I handle EXTRA_OECONF?

The list of plugins should likely be shifted into its own variable in
the core, so that its easier to override.  Alternatively, you could
use oe_filter_out() to remove the current --with-plugins and add your
own.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics


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

end of thread, other threads:[~2010-12-15 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 17:33 Extending recipes Gary Thomas
2010-12-15 17:57 ` Chris Larson

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.