Patchwork [meta-oe,10/12] xpext: fix build with B!=S

login
register
mail settings
Submitter Martin Jansa
Date June 21, 2014, 9:19 a.m.
Message ID <1403342349-11180-10-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/74197/
State Accepted, archived
Headers show

Comments

Martin Jansa - June 21, 2014, 9:19 a.m.
From: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
index 7cb84ff..4a1379d 100644
--- a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
+++ b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
@@ -12,9 +12,9 @@  S = "${WORKDIR}/xpext-1.0"
 inherit autotools pkgconfig
 
 do_configure_prepend () {
-    cd ${S}
-    chmod +x ./autogen.sh
-    ./autogen.sh
+    cd ${B}
+    chmod +x ${S}/autogen.sh
+    ${S}/autogen.sh
 }
 
 SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896"