summaryrefslogtreecommitdiffstats
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-07 13:29:01 +0100
commitf77ea95ba5cd337f01f2a1b4fe9466feb6af9440 (patch)
tree4362150078fd5e412757d1dd2d8f3b07ecd2ef3c
parente1390c1ef85862b91b067ab24f3c06ca506155ad (diff)
downloadopenembedded-core-contrib-f77ea95ba5cd337f01f2a1b4fe9466feb6af9440.tar.gz
openembedded-core-contrib-f77ea95ba5cd337f01f2a1b4fe9466feb6af9440.tar.bz2
openembedded-core-contrib-f77ea95ba5cd337f01f2a1b4fe9466feb6af9440.zip
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
-Wno-dev
}
+do_compile[progress] = "percent"
cmake_do_compile() {
cd ${B}
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 = "\
-DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \
-DHAVE_SYS_ACL_H=0 \
"
+
+do_compile[progress] = "percent"