[OE-core] [PATCH 03/13] e2fsprogs: Fix case where ${B} != ${S}

Richard Purdie richard.purdie at linuxfoundation.org
Mon Mar 18 02:05:01 UTC 2013


Fix out of tree builds by placing built objects in the correct
location.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.7.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.7.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.7.bb
index 9e22563..3a4f5a8 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.7.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.7.bb
@@ -19,7 +19,7 @@ do_configure_prepend () {
 
 do_compile_prepend () {
 	find ./ -print | grep -v ./patches | xargs chmod u=rwX
-	( cd ${S}/util; ${BUILD_CC} subst.c -o subst )
+	( cd ${S}/util; ${BUILD_CC} subst.c -o ${B}/util/subst )
 }
 
 do_install () {
-- 
1.7.10.4





More information about the Openembedded-core mailing list