summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/imx-parser/imx-parser.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/imx-parser/imx-parser.inc')
-rw-r--r--recipes-multimedia/imx-parser/imx-parser.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-multimedia/imx-parser/imx-parser.inc b/recipes-multimedia/imx-parser/imx-parser.inc
new file mode 100644
index 00000000..6fb34de8
--- /dev/null
+++ b/recipes-multimedia/imx-parser/imx-parser.inc
@@ -0,0 +1,38 @@
1# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
2# Copyright (C) 2012-2016 Freescale Semiconductor
3# Released under the MIT license (see COPYING.MIT for the terms)
4DESCRIPTION = "Freescale Multimedia parser libs"
5LICENSE = "Proprietary"
6SECTION = "multimedia"
7LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a"
8
9# For backwards compatibility
10RREPLACES_${PN} = "libfslparser"
11RPROVIDES_${PN} = "libfslparser"
12RCONFLICTS_${PN} = "libfslparser"
13
14inherit fsl-eula-unpack autotools pkgconfig
15
16SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
17
18# Choose between Soft Float-Point and Hard Float-Point
19EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '--enable-fsw', d)}"
20
21INHIBIT_PACKAGE_STRIP = "1"
22INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
23
24python __set_insane_skip() {
25 # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
26 # the source we cannot fix it. Disable the insane check for now.
27 # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
28 for p in d.getVar('PACKAGES', True).split():
29 d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so textrel")
30}
31
32do_package_qa[prefuncs] += "__set_insane_skip"
33
34# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
35FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"
36
37PACKAGE_ARCH = "${MACHINE_ARCH}"
38