From: Ross Burton Date: Tue, 21 Jan 2014 11:37:36 +0000 (+0000) Subject: cmake.bbclass: fix note when warning about deprecated variables X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34796 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dafb9f78e9ab9ec1a1483efc37902c2e8de3623;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 7ff99841e24..c9c15f30766 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