[oe-commits] Richard Purdie : remake: Fix out of tree builds
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 2 16:56:06 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 166c123bc0d121eeea39db71e63940fa2f8a3f7b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=166c123bc0d121eeea39db71e63940fa2f8a3f7b
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Apr 2 11:55:27 2013 +0000
remake: Fix out of tree builds
remake fails with errors during configure due to the out of tree build changes.
This ensures the configure commands run correctly on files in ${S}.
[YOCTO #4139]
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/remake/remake_git.bb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/remake/remake_git.bb b/meta/recipes-devtools/remake/remake_git.bb
index a7cf54e..afbc5d0 100644
--- a/meta/recipes-devtools/remake/remake_git.bb
+++ b/meta/recipes-devtools/remake/remake_git.bb
@@ -16,10 +16,10 @@ PROVIDES += "make"
do_configure_prepend() {
# remove the default LINGUAS since we are not going to generate languages
- rm po/LINGUAS
- touch po/LINGUAS
+ rm ${S}/po/LINGUAS
+ touch ${S}/po/LINGUAS
# create config.rpath which required by configure.ac
- autopoint || touch config.rpath
+ ( cd ${S}; autopoint || touch config.rpath )
}
BBCLASSEXTEND = "native"
More information about the Openembedded-commits
mailing list