From: Robert Yang Date: Thu, 24 Jan 2019 06:57:28 +0000 (+0800) Subject: cmake-native: Add --enable-ccache to configure options X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac1c19302d061d9ee6a02739fcf4381a394d9d8b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- 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 2f4ecc4f4ce..fedcf3d4bdb 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 = "\ do_configure () { ${S}/configure --verbose --prefix=${prefix} \ ${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \ + ${@bb.utils.contains('CCACHE', 'ccache ', '--enable-ccache', '', d)} \ -- ${CMAKE_EXTRACONF} }