[oe-commits] Richard Purdie : pth: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Fri Mar 22 17:05:34 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: afeea8a616ea43553a7cd6c160d5f8b23ddcfa38
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=afeea8a616ea43553a7cd6c160d5f8b23ddcfa38

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Mar 21 14:25:18 2013 +0000

pth: Fix case where ${B} != ${S}

Ensure the autotools commands are executed in ${S} to allow out of tree
builds to work.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/pth/pth_2.0.7.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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
 }





More information about the Openembedded-commits mailing list