]> code.ossystems Code Review - meta-freescale.git/commitdiff
libfslparser: Use python function to amend metadata
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 11 Jul 2014 21:18:04 +0000 (18:18 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 11 Jul 2014 21:19:10 +0000 (18:19 -0300)
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>
meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc

index 3e2a0048f310d64ea4adf0b3983651a0b1ebde65..f0d365d703b463f15b227bd8bde7caa7a1573e41 100644 (file)
@@ -1,3 +1,4 @@
+# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
 # Copyright (C) 2012-2013 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 DESCRIPTION = "Freescale Multimedia parser libs"
@@ -15,7 +16,7 @@ EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
-python populate_packages_prepend() {
+python __set_insane_skip() {
     # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
     # the source we cannot fix it. Disable the insane check for now.
     # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
@@ -23,6 +24,8 @@ python populate_packages_prepend() {
         d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so textrel")
 }
 
+do_package_qa[prefuncs] += "__set_insane_skip"
+
 # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
 FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"