summaryrefslogtreecommitdiffstats
path: root/meta
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
parent3c6fde03dbedcd14f76318080926e8b078a22a9c (diff)
downloadpoky-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.bbclass1
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 @@
1DEPENDS_prepend = "cmake-native " 1DEPENDS_prepend = "cmake-native "
2B = "${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
4CCACHE = "" 5CCACHE = ""