move recipes/{rust,cargo} to recipes-devtools

This better matches where upstream puts compilers and development
utilities.
This commit is contained in:
Doug Goldstein
2015-12-11 00:43:18 -06:00
parent 0653dc1572
commit 9a1f1aad8d
41 changed files with 1 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
SUMMARY = "LLVM compiler framework (packaged with rust)"
LICENSE = "NCSA"
S = "${WORKDIR}/rustc-${PV}/src/llvm"
inherit autotools
EXTRA_OECONF += "--enable-targets=x86,x86_64,arm,aarch64,mips,powerpc"
EXTRA_OECONF += "--enable-optimized"
EXTRA_OECONF += "--disable-assertions"
EXTRA_OECONF += "--disable-docs"
EXTRA_OECONF += "--enable-bindings=none"
EXTRA_OECONF += "--enable-keep-symbols"
do_install_append () {
cd ${D}${bindir}
ln -s *-llc llc
for i in *-llvm-*; do
link=$(echo $i | sed -e 's/.*-llvm-\(.*\)/\1/')
ln -s $i llvm-$link
done
}
BBCLASSEXTEND = "native"