]> code.ossystems Code Review - openembedded-core.git/commitdiff
cmake.bbclass: fix note when warning about deprecated variables
authorRoss Burton <ross.burton@intel.com>
Tue, 21 Jan 2014 11:37:36 +0000 (11:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jan 2014 07:18:02 +0000 (07:18 +0000)
The note issues when OECMAKE_BUILDPATH and OECMAKE_SOURCEPATH were being used
stated that an in-tree build would be done, but the default is in fact an
out-of-tree build.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass

index 7ff99841e24e2855ddb0ec427334ffbecc01cde2..c9c15f30766bf92c31140d87e90d7e78dcab317c 100644 (file)
@@ -66,7 +66,7 @@ addtask generate_toolchain_file after do_patch before do_configure
 
 cmake_do_configure() {
        if [ "${OECMAKE_BUILDPATH}" -o "${OECMAKE_SOURCEPATH}" ]; then
-               bbnote "cmake.bbclass no longer uses OECMAKE_SOURCEPATH and OECMAKE_BUILDPATH. This recipe now will do in-tree builds, to do out-of-tree builds set S and B."
+               bbnote "cmake.bbclass no longer uses OECMAKE_SOURCEPATH and OECMAKE_BUILDPATH.  The default behaviour is now out-of-tree builds with B=WORKDIR/build."
        fi
 
        if [ "${S}" != "${B}" ]; then