summaryrefslogtreecommitdiffstats
path: root/meta/classes/cmake.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-01-10 16:34:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-14 11:33:56 +0000
commitd6ed40fa2a7646e3353460390090aaaecf5b38a3 (patch)
treee537acce3ea26cbea18c375b7e3d00768ee0bffc /meta/classes/cmake.bbclass
parent3c6fde03dbedcd14f76318080926e8b078a22a9c (diff)
downloadast2050-yocto-poky-d6ed40fa2a7646e3353460390090aaaecf5b38a3.zip
ast2050-yocto-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/classes/cmake.bbclass')
-rw-r--r--meta/classes/cmake.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 1dc406d..3ac3fcc 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -1,4 +1,5 @@
DEPENDS_prepend = "cmake-native "
+B = "${WORKDIR}/build"
# We need to unset CCACHE otherwise cmake gets too confused
CCACHE = ""
OpenPOWER on IntegriCloud