Patchwork cmake.bbclass: fix note when warning about deprecated variables

login
register
mail settings
Submitter Ross Burton
Date Jan. 21, 2014, 11:37 a.m.
Message ID <1390304257-32484-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/65321/
State New
Headers show

Comments

Ross Burton - Jan. 21, 2014, 11:37 a.m.
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>
---
 meta/classes/cmake.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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