fix tar command option 53/8153/2
authorRonan <ronan.lemartret@iot.bzh>
Mon, 9 Jan 2017 07:36:26 +0000 (08:36 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 10 Jan 2017 19:39:03 +0000 (19:39 +0000)
 * the option "-C XXX" must be set in first position.

Change-Id: I89f21e9491a03d53ee9ed047e2ae267ad481fdf6
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module.bbappend [new file with mode: 0644]

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 (file)
index 0000000..b35c614
--- /dev/null
@@ -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
+}