From 798a90ccd60fc78a2236098f86f95adbb2530140 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 18 Jan 2014 13:52:36 -0200 Subject: libfslcodec: Enable/disable the VPU support based on SoC This enables the VPU support for all SoCs but MX23, MX28 and MX6SL. Signed-off-by: Otavio Salvador --- recipes-multimedia/libfslcodec/libfslcodec.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc index 6a91fed..97e2281 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" @@ -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 -- cgit v1.2.3-54-g00ecf