From: Ronan Date: Mon, 9 Jan 2017 07:36:26 +0000 (+0100) Subject: fix tar command option X-Git-Tag: 3.99.1~216 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F8153%2F2;p=AGL%2Fmeta-agl.git fix tar command option * the option "-C XXX" must be set in first position. Change-Id: I89f21e9491a03d53ee9ed047e2ae267ad481fdf6 Signed-off-by: Ronan --- diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bbappend new file mode 100644 index 000000000..b35c614c3 --- /dev/null +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bbappend @@ -0,0 +1,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 -C ${S} ${omxmc}/src --strip=2 + tar xf ${WORKDIR}/${omxmc}.tar.bz2 -C ${S} ${omxmc}/include --strip=1 + done +}