From 8e286834584ffdd1af0f02edfad147c8282cb08a Mon Sep 17 00:00:00 2001 From: Kyle Russell Date: Wed, 19 Apr 2017 08:21:54 -0400 Subject: [PATCH 1/2] rust-llvm: Drop unnecessary native customization This is already accounted for by the LLVM CMake files, assuming CMAKE_CROSSCOMPILING is set correctly, which is fixed in the upstream cmake.bbclass. http://git.openembedded.org/openembedded-core/commit/?id=bd082c9be6191e67ea1b1bf10ce5e130a3433ab5 --- recipes-devtools/rust/rust-llvm.inc | 46 ----------------------------- 1 file changed, 46 deletions(-) diff --git a/recipes-devtools/rust/rust-llvm.inc b/recipes-devtools/rust/rust-llvm.inc index 6c5cd2a..47c96ed 100644 --- a/recipes-devtools/rust/rust-llvm.inc +++ b/recipes-devtools/rust/rust-llvm.inc @@ -27,50 +27,6 @@ EXTRA_OECMAKE = " \ # provide almost no value. If you really need them then override this INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -EXTRA_OECMAKE_append_class-target = "\ - -DCROSS_TOOLCHAIN_FLAGS_NATIVE='-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/native_toolchain.cmake' \ -" - -do_generate_native_toolchain_file() { - cat > ${WORKDIR}/native_toolchain.cmake < Date: Wed, 19 Apr 2017 13:43:47 -0400 Subject: [PATCH 2/2] rust-llvm: Fix bad license checksum for 1.15.1 --- recipes-devtools/rust/rust-llvm_1.15.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/rust/rust-llvm_1.15.1.bb b/recipes-devtools/rust/rust-llvm_1.15.1.bb index b64382d..7c296d2 100644 --- a/recipes-devtools/rust/rust-llvm_1.15.1.bb +++ b/recipes-devtools/rust/rust-llvm_1.15.1.bb @@ -1,7 +1,7 @@ require rust-source-${PV}.inc require rust-llvm.inc -LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=43fdaa303c1c5589ad60f4ffc6a0b9ce" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=b99eb43c934ceebecab85c6b9b1a08be" do_install_prepend () { # the install does a sed on this without installing the file