From f77ea95ba5cd337f01f2a1b4fe9466feb6af9440 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 24 Jun 2016 00:06:58 +1200 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/cmake.bbclass | 1 + meta/recipes-devtools/cmake/cmake-native_3.5.2.bb | 2 ++ 2 files changed, 3 insertions(+) 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" -- cgit 1.2.3-korg