summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-24 00:06:58 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:57:23 +0100
commit4ebe0e1175c4074fe6c5be9bbf6a1cdd41e7f7ee (patch)
tree4c9d4031babbb266492bd99dd09ccbc3921c4e8b /meta
parenta702c68c5bd7ab25d74d861bb0dc88249d4d742e (diff)
downloadpoky-4ebe0e1175c4074fe6c5be9bbf6a1cdd41e7f7ee.tar.gz
classes/cmake: enable progress for do_compile
cmake outputs percentage complete as part of its compilation process, so we can enable BitBake's new progress scanning for do_compile here. (From OE-Core rev: f77ea95ba5cd337f01f2a1b4fe9466feb6af9440) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cmake.bbclass1
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.5.2.bb2
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index e7883105da..b18152a8ed 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -124,6 +124,7 @@ cmake_do_configure() {
124 -Wno-dev 124 -Wno-dev
125} 125}
126 126
127do_compile[progress] = "percent"
127cmake_do_compile() { 128cmake_do_compile() {
128 cd ${B} 129 cd ${B}
129 base_do_compile VERBOSE=1 130 base_do_compile VERBOSE=1
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb
index cb4e749d7a..33930fbb9c 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb
@@ -14,3 +14,5 @@ CMAKE_EXTRACONF = "\
14 -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \ 14 -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \
15 -DHAVE_SYS_ACL_H=0 \ 15 -DHAVE_SYS_ACL_H=0 \
16" 16"
17
18do_compile[progress] = "percent"