[OE-core] [PATCH] gst-plugins-package: set ALLOW_EMPTY_${PN}
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Tue Mar 12 12:20:07 UTC 2013
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.
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
More information about the Openembedded-core
mailing list