]> code.ossystems Code Review - meta-freescale.git/commitdiff
libfslcodec: Enable/disable the VPU support based on SoC
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 18 Jan 2014 15:52:36 +0000 (13:52 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 20 Feb 2014 17:00:04 +0000 (14:00 -0300)
This enables the VPU support for all SoCs but MX23, MX28 and MX6SL.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec.inc

index 6a91fed854ed7491c8020669fff6133797d9002a..97e2281503197aff242a882c4561d3f389931426 100644 (file)
@@ -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"
@@ -21,6 +21,13 @@ 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 = "--disable-vpu"
+VPU_SUPPORT_mx6 = "--enable-vpu"
+VPU_SUPPORT_mx6sl = "--disable-vpu"
+VPU_SUPPORT_mx5 = "--enable-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