From patchwork Tue Mar 12 12:20:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: gst-plugins-package: set ALLOW_EMPTY_${PN} Date: Tue, 12 Mar 2013 12:20:07 -0000 From: Enrico Scholz X-Patchwork-Id: 46049 Message-Id: <1363090807-23944-1-git-send-email-enrico.scholz@sigma-chemnitz.de> To: openembedded-core@lists.openembedded.org Cc: Enrico Scholz 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 --- 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}"