Patchwork [meta-fsl-arm,v3,08/11] libfslcodec: Enable/disable the VPU support based on SoC

login
register
mail settings
Submitter Otavio Salvador
Date Jan. 24, 2014, 1:26 a.m.
Message ID <1390526775-26036-9-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/65659/
State New
Headers show

Comments

Otavio Salvador - Jan. 24, 2014, 1:26 a.m.
This enables the VPU support for all SoCs but MX23, MX28 and MX6SL.

Change-Id: I82bc80b4540ed2a83aeb2ac4545b47f3e7e37d9b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-multimedia/libfslcodec/libfslcodec.inc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Patch

diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index aa5282c..35fc713 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec.inc
+++ b/recipes-multimedia/libfslcodec/libfslcodec.inc
@@ -1,4 +1,4 @@ 
-# Copyright (C) 2012-2013 Freescale Semiconductor
+# Copyright (C) 2012-2014 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 DESCRIPTION = "Freescale Multimedia codec libs"
 LICENSE = "Proprietary"
@@ -20,6 +20,12 @@  ALLOW_EMPTY_${PN}-meta = "1"
 # 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 = "--enable-vpu"
+VPU_SUPPORT_mx6sl = "--disable-vpu"
+VPU_SUPPORT_mxs = "--disable-vpu"
+EXTRA_OECONF += "${VPU_SUPPORT}"
+
 do_install_append() {
 	# FIXME: This link points to nowhere
 	rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so