The path to the rust source changes from 1.15 so preemptively make
changes to prepare for that.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
(cherry picked from commit 64cdd4b714)
17 lines
456 B
BlitzBasic
17 lines
456 B
BlitzBasic
require rust-source-${PV}.inc
|
|
require rust-llvm.inc
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=43fdaa303c1c5589ad60f4ffc6a0b9ce"
|
|
|
|
do_install_prepend () {
|
|
# the install does a sed on this without installing the file
|
|
# we don't need it for anything
|
|
mkdir -p "${D}/usr/share/llvm/cmake"
|
|
touch "${D}/usr/share/llvm/cmake/LLVMExports-noconfig.cmake"
|
|
}
|
|
|
|
do_install_append () {
|
|
# we don't need any of this stuff to build Rust
|
|
rm -rf "${D}/usr/lib/cmake"
|
|
}
|