From db6fd1017d4b6c88d468cc75b1d178d10d7e7545 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 11 Jul 2014 18:18:04 -0300 Subject: [PATCH] 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 --- .../recipes-multimedia/libfslparser/libfslparser.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc index 3e2a0048..f0d365d7 100644 --- a/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc +++ b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc @@ -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}" -- 2.40.1