diff options
author | Ross Burton <ross.burton@intel.com> | 2014-01-10 16:34:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-14 11:33:56 +0000 |
commit | d6ed40fa2a7646e3353460390090aaaecf5b38a3 (patch) | |
tree | e537acce3ea26cbea18c375b7e3d00768ee0bffc /meta | |
parent | 3c6fde03dbedcd14f76318080926e8b078a22a9c (diff) | |
download | poky-d6ed40fa2a7646e3353460390090aaaecf5b38a3.tar.gz |
cmake: default to out-of-tree builds
Set B=${WORKDIR}/build in cmake.bbclass so that recipes using cmake.bbclass do
out-of-tree builds by default.
(From OE-Core rev: 783fb88f476c94d5d4f4b954f7053464d9a6dff5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cmake.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 1dc406d253..3ac3fcc53d 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -1,4 +1,5 @@ | |||
1 | DEPENDS_prepend = "cmake-native " | 1 | DEPENDS_prepend = "cmake-native " |
2 | B = "${WORKDIR}/build" | ||
2 | 3 | ||
3 | # We need to unset CCACHE otherwise cmake gets too confused | 4 | # We need to unset CCACHE otherwise cmake gets too confused |
4 | CCACHE = "" | 5 | CCACHE = "" |