Patchwork [meta-fsl-arm,v2] imx-test: Install vpu config and media files

login
register
mail settings
Submitter Daiane Angolini
Date Sept. 18, 2013, 3:26 p.m.
Message ID <1379518018-17941-1-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/58331/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Daiane Angolini - Sept. 18, 2013, 3:26 p.m.
Files (config_dec, config_enc, config_encdec,
config_net) are used to configure mxc-vpu-test.out

And file akiyo.mp4 is a sample media file used
for mxc_vpu_test.out

Fixes [YOCTO: #4185]

Change-Id: I4a09988319440d75bf2c72d2f9351fa58a9804f4
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
changes since v1:
- fixed a typo on commit log
- the installation command line is now conditioned on vpu existence 

 recipes-bsp/imx-test/imx-test.inc | 3 +++
 1 file changed, 3 insertions(+)
Otavio Salvador - Sept. 18, 2013, 5:01 p.m.
On Wed, Sep 18, 2013 at 12:26 PM, Daiane Angolini
<daiane.angolini@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 sample media file used
> for mxc_vpu_test.out
>
> Fixes [YOCTO: #4185]
>
> Change-Id: I4a09988319440d75bf2c72d2f9351fa58a9804f4
> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>

I applied it to master.

Patch

diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index d30ee43..b5535d6 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -33,6 +33,9 @@  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/
+        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
 }
 
 FILES_${PN} += "/unit_tests"