diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-10-18 16:46:56 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-28 16:15:18 +0100 |
commit | 2ac96069dbc47a50d72209cc426953f814e64b31 (patch) | |
tree | a4b8acf05b55ccb3b4dc34779cc40a1f6c009a2b /meta/recipes-devtools/cmake/cmake-native_3.6.2.bb | |
parent | 49d2d47586e0efcbfbb3c0f13e67297b822e14ab (diff) | |
download | poky-2ac96069dbc47a50d72209cc426953f814e64b31.tar.gz |
cmake: update to 3.6.2
(From OE-Core rev: 596f997acf3c86482fb1dd59b2cd0c0b9af58e84)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake-native_3.6.2.bb')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake-native_3.6.2.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.6.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.6.2.bb new file mode 100644 index 0000000000..aec0d64de1 --- /dev/null +++ b/meta/recipes-devtools/cmake/cmake-native_3.6.2.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | require cmake.inc | ||
2 | inherit native | ||
3 | |||
4 | DEPENDS += "bzip2-replacement-native expat-native xz-native zlib-native curl-native" | ||
5 | |||
6 | SRC_URI += "\ | ||
7 | file://cmlibarchive-disable-ext2fs.patch \ | ||
8 | " | ||
9 | |||
10 | B = "${WORKDIR}/build" | ||
11 | do_configure[cleandirs] = "${B}" | ||
12 | |||
13 | # Disable ccmake since we don't depend on ncurses | ||
14 | CMAKE_EXTRACONF = "\ | ||
15 | -DCMAKE_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \ | ||
16 | -DBUILD_CursesDialog=0 \ | ||
17 | -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ | ||
18 | -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ | ||
19 | -DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=0 \ | ||
20 | -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \ | ||
21 | -DHAVE_SYS_ACL_H=0 \ | ||
22 | " | ||
23 | |||
24 | do_configure () { | ||
25 | ${S}/configure --verbose --prefix=${prefix} -- ${CMAKE_EXTRACONF} | ||
26 | } | ||
27 | |||
28 | do_compile() { | ||
29 | oe_runmake | ||
30 | } | ||
31 | |||
32 | do_install() { | ||
33 | oe_runmake 'DESTDIR=${D}' install | ||
34 | } | ||
35 | |||
36 | do_compile[progress] = "percent" | ||