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@linuxfoundation.org>
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"