[OE-core] [PATCH] gst-plugins-package: set ALLOW_EMPTY_${PN}

Martin Jansa martin.jansa at gmail.com
Tue Mar 12 13:13:36 UTC 2013


On Tue, Mar 12, 2013 at 01:20:07PM +0100, Enrico Scholz wrote:
> Every subpackage has a dependency on '${PN}' because
> populate_packages_prepend() specifies "extra_depends=d.expand('${PN}')"
> when splitting the subpackages.
> 
> Hence, '${PN}' must be always created
> 
> Although creation of -plugin-dev and -plugin-staticdev is flawed imo
> (.la files are not for development purposes but useless resp. required
> for module loading on non GNU/linux platforms, and .a files are not
> created for plugins), patch sets ALLOW_EMPTY for -dev and -staticdev
> packages for consistency reasons.

I've sent the same a week ago:
http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/036752.html

> 
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
> ---
>  meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
> index 3e9ef92..2f2be34 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
> @@ -24,6 +24,10 @@ python populate_packages_prepend () {
>      d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package')
>  }
>  
> +ALLOW_EMPTY_${PN} = "1"
> +ALLOW_EMPTY_${PN}-dev = "1"
> +ALLOW_EMPTY_${PN}-staticdev = "1"
> +
>  PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib"
>  FILES_${PN}-apps = "${bindir}"
>  
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130312/abb47984/attachment-0002.sig>


More information about the Openembedded-core mailing list