summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-12-29 10:39:45 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-12-29 11:00:04 -0200
commit6df623ba48032fec5c8c5b86bd308be9bc86c4c9 (patch)
tree2cf71fffbfdc3af2f8c9d2bcf31c5654e3673381
parentdb94fcd9ee07ec896bf49b7e30e91a9d78a5bcfb (diff)
downloadmeta-fsl-arm-6df623ba48032fec5c8c5b86bd308be9bc86c4c9.tar.gz
libfslcodec: Use PACKAGECONFIG to handle VPU support
This allow the set of VPU support, depending on the SoC family, in a more clean way and also avoiding the 'imx-vpu' dependency accordingly. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-multimedia/libfslcodec/libfslcodec.inc14
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index 892c428..0b269c2 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec.inc
+++ b/recipes-multimedia/libfslcodec/libfslcodec.inc
@@ -4,7 +4,6 @@ DESCRIPTION = "Freescale Multimedia codec libs"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5SECTION = "multimedia" 5SECTION = "multimedia"
6LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6" 6LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6"
7DEPENDS = "imx-vpu"
8 7
9inherit fsl-eula-unpack autotools pkgconfig 8inherit fsl-eula-unpack autotools pkgconfig
10 9
@@ -13,13 +12,12 @@ SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
13# Choose between Soft Float-Point and Hard Float-Point 12# Choose between Soft Float-Point and Hard Float-Point
14EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}" 13EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}"
15 14
16# VPU Hardware acceleration 15PACKAGECONFIG ?= ""
17VPU_SUPPORT = "--disable-vpu" 16PACKAGECONFIG_mx6q = "vpu"
18VPU_SUPPORT_mx6 = "--enable-vpu" 17PACKAGECONFIG_mx6dl = "vpu"
19VPU_SUPPORT_mx6sl = "--disable-vpu" 18PACKAGECONFIG_mx5 = "vpu"
20VPU_SUPPORT_mx6sx = "--disable-vpu" 19
21VPU_SUPPORT_mx5 = "--enable-vpu" 20PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,imx-vpu"
22EXTRA_OECONF += "${VPU_SUPPORT}"
23 21
24do_install_append() { 22do_install_append() {
25 # FIXME: This link points to nowhere 23 # FIXME: This link points to nowhere