aboutsummaryrefslogtreecommitdiffstats
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
meta-fsl-arm-19be24a8478e45658f6b4983ce222eadaa6cb1c4.tar.bz2
meta-fsl-arm-19be24a8478e45658f6b4983ce222eadaa6cb1c4.zip
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"
LICENSE = "Proprietary"
SECTION = "multimedia"
LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6"
-DEPENDS = "imx-vpu"
inherit fsl-eula-unpack autotools pkgconfig
@@ -13,12 +12,12 @@ SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
# Choose between Soft Float-Point and Hard Float-Point
EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}"
-# VPU Hardware acceleration
-VPU_SUPPORT = "--disable-vpu"
-VPU_SUPPORT_mx6 = "--enable-vpu"
-VPU_SUPPORT_mx6sl = "--disable-vpu"
-VPU_SUPPORT_mx5 = "--enable-vpu"
-EXTRA_OECONF += "${VPU_SUPPORT}"
+PACKAGECONFIG ?= ""
+PACKAGECONFIG_mx6q = "vpu"
+PACKAGECONFIG_mx6dl = "vpu"
+PACKAGECONFIG_mx5 = "vpu"
+
+PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,imx-vpu"
do_install_append() {
# FIXME: This link points to nowhere