[meta-freescale] [meta-fsl-arm][PATCH v3 08/11] libfslcodec: Enable/disable the VPU support based on SoC
Otavio Salvador
otavio at ossystems.com.br
Fri Jan 24 03:22:54 PST 2014
On Fri, Jan 24, 2014 at 9:07 AM, Fabio Estevam <festevam at gmail.com> wrote:
> On Thu, Jan 23, 2014 at 11:47 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>
>> +# VPU Hardware acceleration
>> +VPU_SUPPORT = "--enable-vpu"
>> +VPU_SUPPORT_mx6sl = "--disable-vpu"
>> +VPU_SUPPORT_mxs = "--disable-vpu"
>> +EXTRA_OECONF += "${VPU_SUPPORT}"
>
> Don't we also need a:
>
> VPU_SUPPORT_mx3 = "--disable-vpu"
>
> ,in order to disable VPU support for mx31 and mx35?
Good catch, it is not being used at this moment as those use mainline
kernel but it does not hurt and makes it more complete.
I will rework it and invert the logic:
>> +# 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}"
So we enable it for the ones having it. What do you think?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list