From 8675c1fecbf79774e7f4141dbb17aaf86979cb7b Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Fri, 21 Apr 2017 16:33:03 +0100 Subject: omx-user-module: correct build tree setup for yp 2.2 morty The change directory parameter of the tar utility acts on the parameters that follow it. Correct the ordering so that the setup_build_tree() task extracts the omx tar balls to the right location. Fixes a build error that would otherwise occur in yp 2.2 morty. (cherry picked from commit 9f0211bafb118e81ec2fd6dd82b5777964b1ac9b) Signed-off-by: Stephen Lawrence --- meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bb b/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bb index 08ea7b1..d0da0f7 100644 --- a/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bb +++ b/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bb @@ -157,8 +157,8 @@ setup_build_tree() { for omxmc in ${OMX_COMMON_SRC} ${OMX_VIDEO_DEC_COMMON_SRC} ${OMX_VIDEO_ENC_COMMON_SRC} do tar xf ${WORKDIR}/${omxmc}.tar.bz2 -C ${WORKDIR} - tar xf ${WORKDIR}/${omxmc}.tar.bz2 ${omxmc}/src --strip=2 -C ${S} - tar xf ${WORKDIR}/${omxmc}.tar.bz2 ${omxmc}/include --strip=1 -C ${S} + tar xf ${WORKDIR}/${omxmc}.tar.bz2 -C ${S} ${omxmc}/src --strip=2 + tar xf ${WORKDIR}/${omxmc}.tar.bz2 -C ${S} ${omxmc}/include --strip=1 done } -- cgit 1.2.3-korg