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]

(From OE-Core rev: 166c123bc0d121eeea39db71e63940fa2f8a3f7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-04-02 11:55:27 +00:00
parent f802d7f0c4
commit f988ca1105

View File

@@ -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"