diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-01-18 13:52:36 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-02-20 14:00:04 -0300 |
commit | 798a90ccd60fc78a2236098f86f95adbb2530140 (patch) | |
tree | f22080026079b0709a046226b282c6f5bb9fbc4f | |
parent | 07c4b3ef940bb2d9449cb980dd3edade7662b3cb (diff) | |
download | meta-fsl-arm-798a90ccd60fc78a2236098f86f95adbb2530140.tar.gz |
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 <otavio@ossystems.com.br>
-rw-r--r-- | recipes-multimedia/libfslcodec/libfslcodec.inc | 9 |
1 files changed, 8 insertions, 1 deletions
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 @@ | |||
1 | # Copyright (C) 2012-2013 Freescale Semiconductor | 1 | # Copyright (C) 2012-2014 Freescale Semiconductor |
2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
3 | DESCRIPTION = "Freescale Multimedia codec libs" | 3 | DESCRIPTION = "Freescale Multimedia codec libs" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
@@ -21,6 +21,13 @@ ALLOW_EMPTY_${PN}-meta = "1" | |||
21 | # Choose between Soft Float-Point and Hard Float-Point | 21 | # Choose between Soft Float-Point and Hard Float-Point |
22 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}" | 22 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}" |
23 | 23 | ||
24 | # VPU Hardware acceleration | ||
25 | VPU_SUPPORT = "--disable-vpu" | ||
26 | VPU_SUPPORT_mx6 = "--enable-vpu" | ||
27 | VPU_SUPPORT_mx6sl = "--disable-vpu" | ||
28 | VPU_SUPPORT_mx5 = "--enable-vpu" | ||
29 | EXTRA_OECONF += "${VPU_SUPPORT}" | ||
30 | |||
24 | do_install_append() { | 31 | do_install_append() { |
25 | # FIXME: This link points to nowhere | 32 | # FIXME: This link points to nowhere |
26 | rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so | 33 | rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so |