aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libfslcodec
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-05-20 23:51:13 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2013-05-28 11:00:49 -0300
commita95e068b5483ab3aec42f7970297b7d8339b9b7c (patch)
tree01140db189bce66376ddb119c88d37b02450c022 /recipes-multimedia/libfslcodec
parent46fce80dd94c370ea90a9956c9137f877778bbba (diff)
downloadmeta-fsl-arm-a95e068b5483ab3aec42f7970297b7d8339b9b7c.tar.gz
meta-fsl-arm-a95e068b5483ab3aec42f7970297b7d8339b9b7c.tar.bz2
meta-fsl-arm-a95e068b5483ab3aec42f7970297b7d8339b9b7c.zip
libfslcodec: Add libfslcodec-meta which includes all codecs
The libfslcodec-meta is specially useful for debugging so we can test if a failure is due a missing dependency across codecs or to provide demo images which has a wide range of supported codecs. Change-Id: Ic6deb1f7c1eab70405078ed79757dd57d9f29316 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia/libfslcodec')
-rw-r--r--recipes-multimedia/libfslcodec/libfslcodec.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index 5c0130b..abf775a 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec.inc
+++ b/recipes-multimedia/libfslcodec/libfslcodec.inc
@@ -14,6 +14,11 @@ SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
PACKAGES_DYNAMIC = "${PN}-*"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+PACKAGES += "${PN}-meta"
+
+ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY_${PN}-meta = "1"
+
do_install_append() {
# FIXME: This link points to nowhere
rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so
@@ -41,6 +46,11 @@ python populate_packages_prepend() {
for p in d.getVar('PACKAGES', True).split():
d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel")
d.setVar("DEBIAN_NOAUTONAME_%s" % p, "1")
+
+ # Allow addition of all codecs in a image; useful specially for
+ # debugging.
+ codec_pkgs = oe.utils.packages_filter_out_system(d)
+ d.appendVar('RDEPENDS_libfslcodec-meta', ' ' + ' '.join(codec_pkgs))
}
# Ensure we get warnings if we miss something