diff options
| author | Ross Burton <ross.burton@intel.com> | 2014-01-21 11:37:36 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-22 07:20:04 +0000 |
| commit | 42e122de0f26fd3f74ca218444fcef4708aef93a (patch) | |
| tree | 14a933c08650aa32c26b3a46dbf1639309e3b068 /meta/classes | |
| parent | 1b0d621f3278286d74c8113af5ad5c918a5cd5a8 (diff) | |
| download | poky-42e122de0f26fd3f74ca218444fcef4708aef93a.tar.gz | |
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.
(From OE-Core rev: 0dafb9f78e9ab9ec1a1483efc37902c2e8de3623)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 7ff99841e2..c9c15f3076 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 | |||
| 66 | 66 | ||
| 67 | cmake_do_configure() { | 67 | cmake_do_configure() { |
| 68 | if [ "${OECMAKE_BUILDPATH}" -o "${OECMAKE_SOURCEPATH}" ]; then | 68 | if [ "${OECMAKE_BUILDPATH}" -o "${OECMAKE_SOURCEPATH}" ]; then |
| 69 | 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." | 69 | bbnote "cmake.bbclass no longer uses OECMAKE_SOURCEPATH and OECMAKE_BUILDPATH. The default behaviour is now out-of-tree builds with B=WORKDIR/build." |
| 70 | fi | 70 | fi |
| 71 | 71 | ||
| 72 | if [ "${S}" != "${B}" ]; then | 72 | if [ "${S}" != "${B}" ]; then |
