[oe-commits] Ross Burton : cmake.bbclass: fix note when warning about deprecated variables

git at git.openembedded.org git at git.openembedded.org
Thu Jan 23 10:14:42 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 0dafb9f78e9ab9ec1a1483efc37902c2e8de3623
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0dafb9f78e9ab9ec1a1483efc37902c2e8de3623

Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Jan 21 11:37:36 2014 +0000

cmake.bbclass: fix note when warning about deprecated variables

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/cmake.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 7ff9984..c9c15f3 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -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



More information about the Openembedded-commits mailing list