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 10:57:09 -0200
commit19be24a8478e45658f6b4983ce222eadaa6cb1c4 (patch)
tree1b287f6b34dfe8431ece22d15d389dd4ff38c3ea
parent1fbf03fb9fbef6a544fe45765867eef51cea9927 (diff)
downloadmeta-fsl-arm-19be24a8478e45658f6b4983ce222eadaa6cb1c4.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.inc13
1 files changed, 6 insertions, 7 deletions
diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index 4883a36..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,12 +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_mx5 = "--enable-vpu" 19
21EXTRA_OECONF += "${VPU_SUPPORT}" 20PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,imx-vpu"
22 21
23do_install_append() { 22do_install_append() {
24 # FIXME: This link points to nowhere 23 # FIXME: This link points to nowhere