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>
This commit is contained in:
Ross Burton 2014-01-10 16:34:31 +00:00 committed by Richard Purdie
parent 3c6fde03db
commit d6ed40fa2a
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
DEPENDS_prepend = "cmake-native "
B = "${WORKDIR}/build"
# We need to unset CCACHE otherwise cmake gets too confused
CCACHE = ""