[meta-freescale] [meta-fsl-arm][PATCH] imx-test: Install vpu config and media files

Otavio Salvador otavio at ossystems.com.br
Tue Sep 17 08:03:00 PDT 2013


On Tue, Sep 17, 2013 at 9:37 AM, Daiane Angolini
<daiane.angolini at freescale.com> wrote:
> Files (config_dec, config_enc, config_encdec,
> config_net) are used to configure mxc-vpu-test.out
>
> And file akiyo.mp4 is a media file sample used
> for mxc_vpu_test.out
>
> Fixes [YOCTO: #4185]
>
> Change-Id: I4a09988319440d75bf2c72d2f9351fa58a9804f4
> Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
> ---
>  recipes-bsp/imx-test/imx-test.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
> index d30ee43..58964cb 100644
> --- a/recipes-bsp/imx-test/imx-test.inc
> +++ b/recipes-bsp/imx-test/imx-test.inc
> @@ -33,6 +33,7 @@ do_install() {
>          install -m 755 test-utils.sh ${D}/unit_tests/test-utils.sh
>          install -m 0755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
>          install -m 755 ${S}/platform/${PLATFORM}/* ${D}/unit_tests/
> +        install -m 755 ${S}/test/mxc_vpu_test/configs/* ${D}/unit_tests/

I thought a way to make this generic (for platforms which does not have VPU) as:

if [ -e ${S}/test/mxc_vpu_test/mxc-vpu-test.out ]; then
    install -m 755 ${S}/test/mxc_vpu_test/configs/* ${D}/unit_tests/
fi

This could have a good FIXME comment on it but it'd allow it to be
installed only when the platform builds the .out file.

Thoughts?

-- 
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