Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gst-plugins-base alsa dependency
@ 2010-05-26  9:57 Phil Edworthy
  2010-05-26 10:04 ` Thomas Petazzoni
  2010-05-26 21:21 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Phil Edworthy @ 2010-05-26  9:57 UTC (permalink / raw)
  To: buildroot

Hi,

 

A lot of the GStreamer plugins are built or not based on whether other
packages are on the target. For example, gst-plugins-base only builds the
alsa plugins if it can find alsa-lib. A clean build means these plugins
aren't built due to the build order. However, if I rebuild gst-plugins-base
afterwards, they are built.

 

How can a Buildroot package be told of build order dependencies, without
requiring the packages to be included?

 

Thanks

Phil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100526/486e49ac/attachment.html>

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

* [Buildroot] gst-plugins-base alsa dependency
  2010-05-26  9:57 [Buildroot] gst-plugins-base alsa dependency Phil Edworthy
@ 2010-05-26 10:04 ` Thomas Petazzoni
  2010-05-26 12:31   ` Phil Edworthy
  2010-05-26 21:21 ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-26 10:04 UTC (permalink / raw)
  To: buildroot

On Wed, 26 May 2010 10:57:56 +0100
"Phil Edworthy" <Phil.Edworthy@renesas.com> wrote:

> How can a Buildroot package be told of build order dependencies,
> without requiring the packages to be included?

By doing something like:

ifeq ($(BR2_PACKAGE_ON_WHICH_I_DEPEND),y)
MYPKG_DEPENDENCIES += package-on-which-i-depend
endif

If the package "package-on-which-i-depend" is enabled in the
configuration, then you will have the guarantee that it gets compiled
before the current package.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] gst-plugins-base alsa dependency
  2010-05-26 10:04 ` Thomas Petazzoni
@ 2010-05-26 12:31   ` Phil Edworthy
  0 siblings, 0 replies; 4+ messages in thread
From: Phil Edworthy @ 2010-05-26 12:31 UTC (permalink / raw)
  To: buildroot

> > How can a Buildroot package be told of build order dependencies,
> > without requiring the packages to be included?
> 
> By doing something like:
> 
> ifeq ($(BR2_PACKAGE_ON_WHICH_I_DEPEND),y)
> MYPKG_DEPENDENCIES += package-on-which-i-depend
> endif
> 
> If the package "package-on-which-i-depend" is enabled in the
> configuration, then you will have the guarantee that it gets compiled
> before the current package.

Thanks Thomas, that's a nice and simple way to fix it.
Phil 

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

* [Buildroot] gst-plugins-base alsa dependency
  2010-05-26  9:57 [Buildroot] gst-plugins-base alsa dependency Phil Edworthy
  2010-05-26 10:04 ` Thomas Petazzoni
@ 2010-05-26 21:21 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-05-26 21:21 UTC (permalink / raw)
  To: buildroot

>>>>> "Phil" == Phil Edworthy <Phil.Edworthy@renesas.com> writes:

 Phil> Hi,

 Phil> A lot of the GStreamer plugins are built or not based on whether
 Phil> other packages are on the target. For example, gst-plugins-base
 Phil> only builds the alsa plugins if it can find alsa-lib. A clean
 Phil> build means these plugins aren?t built due to the build
 Phil> order. However, if I rebuild gst-plugins-base afterwards, they
 Phil> are built.

Thanks, I've just committed a patch that does this to git.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2010-05-26 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26  9:57 [Buildroot] gst-plugins-base alsa dependency Phil Edworthy
2010-05-26 10:04 ` Thomas Petazzoni
2010-05-26 12:31   ` Phil Edworthy
2010-05-26 21:21 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox