Patchwork [09/16] pm-utils: Fix case where ${B} != ${S}

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

Comments

Richard Purdie - March 21, 2013, 3:55 p.m.
Change to the correct directory to execute gnu-configize.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb b/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb
index faa0e4e..961d7dd 100644
--- a/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb
+++ b/meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb
@@ -19,7 +19,7 @@  inherit pkgconfig autotools
 RDEPENDS_${PN} = "grep"
 
 do_configure_prepend () {
-	autoreconf -f -i -s
+	( cd ${S}; autoreconf -f -i -s )
 }
 
 FILES_${PN} += "${libdir}/${BPN}/*"