summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-07-11 18:18:04 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2014-07-11 18:19:10 -0300
commit5b4afef2e330087f150ee0588df6415aea36605e (patch)
tree9636f53e2451fddc40bb52ba7b1878734b6ad777 /recipes-multimedia
parentda2c3453c086ef9e4aed7cfc67bfc52177cb3c16 (diff)
downloadmeta-fsl-arm-5b4afef2e330087f150ee0588df6415aea36605e.tar.gz
libfslparser: Use python function to amend metadata
The metadata amending, to include the INSANE_SKIP hacks, need to be done before we run the QA checks. This has change now that the QA checks are run in a separate task. To accomodate the code to this the recipe needed to be reworked to use separated method to apply the quirks. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/libfslparser/libfslparser.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-multimedia/libfslparser/libfslparser.inc b/recipes-multimedia/libfslparser/libfslparser.inc
index 3e2a004..f0d365d 100644
--- a/recipes-multimedia/libfslparser/libfslparser.inc
+++ b/recipes-multimedia/libfslparser/libfslparser.inc
@@ -1,3 +1,4 @@
1# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
1# Copyright (C) 2012-2013 Freescale Semiconductor 2# Copyright (C) 2012-2013 Freescale Semiconductor
2# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
3DESCRIPTION = "Freescale Multimedia parser libs" 4DESCRIPTION = "Freescale Multimedia parser libs"
@@ -15,7 +16,7 @@ EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--
15INHIBIT_PACKAGE_STRIP = "1" 16INHIBIT_PACKAGE_STRIP = "1"
16INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 17INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
17 18
18python populate_packages_prepend() { 19python __set_insane_skip() {
19 # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have 20 # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
20 # the source we cannot fix it. Disable the insane check for now. 21 # the source we cannot fix it. Disable the insane check for now.
21 # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those 22 # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
@@ -23,6 +24,8 @@ python populate_packages_prepend() {
23 d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so textrel") 24 d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so textrel")
24} 25}
25 26
27do_package_qa[prefuncs] += "__set_insane_skip"
28
26# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those 29# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
27FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" 30FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"
28 31