summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-01-24 14:57:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-26 13:39:37 +0000
commitac1c19302d061d9ee6a02739fcf4381a394d9d8b (patch)
treeebd01aad95a9cdd2be5a9a2a2717efe33996cd45 /meta/recipes-devtools/cmake
parentbb97a087e98697ee8dafa27ad5eb9b3d50f18387 (diff)
downloadpoky-ac1c19302d061d9ee6a02739fcf4381a394d9d8b.tar.gz
cmake-native: Add --enable-ccache to configure options
cmake-native requires --enable-ccache to enable ccache, target recipe doesn't need this since it is already handled by cmake.bbclass. (From OE-Core rev: 815056cb595c0f57b4d8867387420fe3bb28bdb2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake')
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.12.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb
index 2f4ecc4f4c..fedcf3d4bd 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb
@@ -29,6 +29,7 @@ CMAKE_EXTRACONF = "\
29do_configure () { 29do_configure () {
30 ${S}/configure --verbose --prefix=${prefix} \ 30 ${S}/configure --verbose --prefix=${prefix} \
31 ${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \ 31 ${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \
32 ${@bb.utils.contains('CCACHE', 'ccache ', '--enable-ccache', '', d)} \
32 -- ${CMAKE_EXTRACONF} 33 -- ${CMAKE_EXTRACONF}
33} 34}
34 35