Patchwork [11/16] pth: Fix case where ${B} != ${S}

login
register
mail settings
Submitter Richard Purdie
Date March 21, 2013, 3:55 p.m.
Message ID <1363881315-24352-11-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/46631/
State Accepted
Commit afeea8a616ea43553a7cd6c160d5f8b23ddcfa38
Headers show

Comments

Richard Purdie - March 21, 2013, 3:55 p.m.
Ensure the autotools commands are executed in ${S} to allow out of tree
builds to work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-support/pth/pth_2.0.7.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-support/pth/pth_2.0.7.bb b/meta/recipes-support/pth/pth_2.0.7.bb
index fc9ed16..8cbab7d 100644
--- a/meta/recipes-support/pth/pth_2.0.7.bb
+++ b/meta/recipes-support/pth/pth_2.0.7.bb
@@ -23,7 +23,7 @@  PARALLEL_MAKE=""
 inherit autotools binconfig pkgconfig
 
 do_configure() {
-	gnu-configize
-	autoconf
+	( cd ${S}; gnu-configize )
+	( cd ${S}; autoconf )
 	oe_runconf
 }