summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/imx-codec/imx-codec_4.7.0.bb (renamed from recipes-multimedia/imx-codec/imx-codec_4.6.2.bb)28
1 files changed, 15 insertions, 13 deletions
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb b/recipes-multimedia/imx-codec/imx-codec_4.7.0.bb
index 3e142694..e192c64d 100644
--- a/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb
+++ b/recipes-multimedia/imx-codec/imx-codec_4.7.0.bb
@@ -5,29 +5,28 @@
5DESCRIPTION = "Freescale Multimedia codec libs" 5DESCRIPTION = "Freescale Multimedia codec libs"
6LICENSE = "Proprietary" 6LICENSE = "Proprietary"
7SECTION = "multimedia" 7SECTION = "multimedia"
8LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" 8LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011"
9 9
10# Backward compatibility 10# Backward compatibility
11PROVIDES += "libfslcodec" 11PROVIDES += "libfslcodec"
12 12
13SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" 13SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
14SRC_URI[md5sum] = "309cae6f73a777f6e5a89831acf622ee" 14SRC_URI[md5sum] = "5041d6e438c7779dcb424aedc11dd3ef"
15SRC_URI[sha256sum] = "7b070ab3f1762accee2806e7aba4146ef5242c67a8cd88fb90dacfc1c8b3ef5e" 15SRC_URI[sha256sum] = "71bcb80bda44a326704d18b2e828b03c6f70792a4bf0686abc223657061df89b"
16 16
17inherit fsl-eula-unpack autotools pkgconfig 17inherit fsl-eula-unpack autotools pkgconfig
18 18
19PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}"
20# Support Chips&Media VPU only
21PACKAGECONFIG_VPU = ""
22PACKAGECONFIG_VPU:mx6q-nxp-bsp = "vpu"
23PACKAGECONFIG_VPU:mx6dl-nxp-bsp = "vpu"
24PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu"
25
19# Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point 26# Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point
20EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \ 27EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \
21 bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d), d)}" 28 bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d), d)}"
22 29
23PACKAGECONFIG ?= ""
24PACKAGECONFIG:imxvpu = "vpu"
25
26# We need to ensure we don't have '-src' package overrided
27PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src'
28
29PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu"
30
31do_install:append() { 30do_install:append() {
32 # LTIB move the files around or gst-fsl-plugin won't find them 31 # LTIB move the files around or gst-fsl-plugin won't find them
33 for p in $(find ${D}${libdir}/imx-mm -mindepth 2 -maxdepth 2 -not -type d); do 32 for p in $(find ${D}${libdir}/imx-mm -mindepth 2 -maxdepth 2 -not -type d); do
@@ -52,7 +51,7 @@ python __set_insane_skip() {
52 # the source we cannot fix it. Disable the insane check for now. 51 # the source we cannot fix it. Disable the insane check for now.
53 if p == 'imx-codec-test-bin': 52 if p == 'imx-codec-test-bin':
54 # FIXME: includes the DUT .so files so we need to deploy those 53 # FIXME: includes the DUT .so files so we need to deploy those
55 d.setVar("INSANE_SKIP:%s" % p, "ldflags textrel libdir file-rdeps") 54 d.setVar("INSANE_SKIP:%s" % p, "ldflags textrel libdir")
56 else: 55 else:
57 d.setVar("INSANE_SKIP:%s" % p, "ldflags textrel") 56 d.setVar("INSANE_SKIP:%s" % p, "ldflags textrel")
58} 57}
@@ -90,6 +89,9 @@ python __set_metapkg_rdepends() {
90 89
91PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends" 90PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends"
92 91
92# We need to ensure we don't have '-src' package overrided
93PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src'
94
93PACKAGES_DYNAMIC = "${PN}-*" 95PACKAGES_DYNAMIC = "${PN}-*"
94INHIBIT_PACKAGE_STRIP = "1" 96INHIBIT_PACKAGE_STRIP = "1"
95INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 97INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
@@ -115,5 +117,5 @@ FILES:${PN}-oggvorbis += "${libdir}/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm
115FILES:${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux.so.*" 117FILES:${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux.so.*"
116FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" 118FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*"
117 119
118PACKAGE_ARCH = "${MACHINE_ARCH}" 120PACKAGE_ARCH = "${MACHINE_SOCARCH}"
119COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 121COMPATIBLE_MACHINE = "(imx-nxp-bsp)"