diff options
author | Ross Burton <ross.burton@intel.com> | 2016-09-14 17:41:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-15 22:56:37 +0100 |
commit | b8700e9fd30317d0ad583febb4e6f385284bdd51 (patch) | |
tree | 1e66dec58c9a10d80ea06feedc53427418f58b8c /meta/recipes-devtools/cmake/cmake-native_3.6.1.bb | |
parent | 0afec72913bc31d315cba079da317e8b28755ded (diff) | |
download | openembedded-core-contrib-b8700e9fd30317d0ad583febb4e6f385284bdd51.tar.gz |
cmake: don't inherit autotools
cmake doesn't use autotools, the functions get replaced by either cmake.bbclass
(target) or the recipe itself (native) leaving just lots of superfluous
dependencies.
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.1.bb')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake-native_3.6.1.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb b/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb index 33930fbb9c..f3a485fc0e 100644 --- a/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb +++ b/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb @@ -8,6 +8,9 @@ SRC_URI += "\ file://cmlibarchive-disable-ext2fs.patch \ " +B = "${WORKDIR}/build" +do_configure[cleandirs] = "${B}" + # Disable ccmake since we don't depend on ncurses CMAKE_EXTRACONF = "\ -DBUILD_CursesDialog=0 \ @@ -15,4 +18,16 @@ CMAKE_EXTRACONF = "\ -DHAVE_SYS_ACL_H=0 \ " +do_configure () { + ${S}/configure --prefix=${prefix} -- ${CMAKE_EXTRACONF} +} + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + do_compile[progress] = "percent" |