mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bb97a087e9
commit
ac1c19302d
@@ -29,6 +29,7 @@ CMAKE_EXTRACONF = "\
|
|||||||
do_configure () {
|
do_configure () {
|
||||||
${S}/configure --verbose --prefix=${prefix} \
|
${S}/configure --verbose --prefix=${prefix} \
|
||||||
${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \
|
${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \
|
||||||
|
${@bb.utils.contains('CCACHE', 'ccache ', '--enable-ccache', '', d)} \
|
||||||
-- ${CMAKE_EXTRACONF}
|
-- ${CMAKE_EXTRACONF}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user