From 4c7cbf6a60f6fe0abe9de3c16466a4abc737b286 Mon Sep 17 00:00:00 2001 From: Kyle Russell Date: Tue, 23 Jan 2018 17:21:06 -0500 Subject: [PATCH] rust-llvm: remove custom do_compile This works out in recent poky releases because cmake_do_compile ends up in oe_runmake via base_do_compile, but this changed recently to allow cmake's generic `cmake --build` feature to call the appropriate generator instead of always assuming make. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=579d17ba5f722edb9fe79682480c4a9508ad0ed4 --- recipes-devtools/rust/rust-llvm.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recipes-devtools/rust/rust-llvm.inc b/recipes-devtools/rust/rust-llvm.inc index 0c2027c..1acaa70 100644 --- a/recipes-devtools/rust/rust-llvm.inc +++ b/recipes-devtools/rust/rust-llvm.inc @@ -35,10 +35,6 @@ do_compile_prepend_class-target() { sed -i 's:/lib\>:/${baselib}:g' ${S}/tools/llvm-config/llvm-config.cpp } -do_compile() { - oe_runmake -} - do_install_append_class-target() { # Disable checks on the native tools, since these should came from the native recipe sed -i -e 's/\(.*APPEND.*_IMPORT_CHECK_FILES_FOR_.*{_IMPORT_PREFIX}\/bin\/.*\)/#\1/' ${D}/usr/share/llvm/cmake/LLVMExports-noconfig.cmake