diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-01-24 14:57:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-26 13:39:37 +0000 |
commit | ac1c19302d061d9ee6a02739fcf4381a394d9d8b (patch) | |
tree | ebd01aad95a9cdd2be5a9a2a2717efe33996cd45 | |
parent | bb97a087e98697ee8dafa27ad5eb9b3d50f18387 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-devtools/cmake/cmake-native_3.12.2.bb | 1 |
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 = "\ | |||
29 | do_configure () { | 29 | do_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 | ||