diff options
Diffstat (limited to 'recipes-multimedia/imx-parser/imx-parser.inc')
-rw-r--r-- | recipes-multimedia/imx-parser/imx-parser.inc | 38 |
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) | ||
4 | DESCRIPTION = "Freescale Multimedia parser libs" | ||
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" | ||
8 | |||
9 | # For backwards compatibility | ||
10 | RREPLACES_${PN} = "libfslparser" | ||
11 | RPROVIDES_${PN} = "libfslparser" | ||
12 | RCONFLICTS_${PN} = "libfslparser" | ||
13 | |||
14 | inherit fsl-eula-unpack autotools pkgconfig | ||
15 | |||
16 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
17 | |||
18 | # Choose between Soft Float-Point and Hard Float-Point | ||
19 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '--enable-fsw', d)}" | ||
20 | |||
21 | INHIBIT_PACKAGE_STRIP = "1" | ||
22 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
23 | |||
24 | python __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 | |||
32 | do_package_qa[prefuncs] += "__set_insane_skip" | ||
33 | |||
34 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those | ||
35 | FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" | ||
36 | |||
37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
38 | |||