rust-llvm: adjust to use BBCLASSEXTEND and the generic DEPENDS for some chance of class-target working

This commit is contained in:
Cody P Schafer
2015-07-06 15:25:03 -04:00
parent 25e2eaddc9
commit de5b9d0cea
2 changed files with 4 additions and 3 deletions
@@ -11,7 +11,6 @@ SRC_URI[rust.sha256sum] = "cb09f443b37ec1b81fe73c04eb413f9f656859cf7d00bc5088008
S = "${WORKDIR}/rustc-${PV}/src/llvm"
inherit autotools
inherit native
EXTRA_OECONF += "--enable-targets=x86,x86_64,arm,aarch64,mips,powerpc"
EXTRA_OECONF += "--enable-optimized"
@@ -26,3 +25,6 @@ do_install_append () {
ln -s $i llvm-$link
done
}
BBCLASSEXTEND = "native"
+1 -2
View File
@@ -8,8 +8,7 @@ LICENSE = "MIT | Apache-2.0"
B = "${WORKDIR}/build"
DEPENDS += "rust-llvm-native"
DEPENDS_class-cross += "rust-llvm-native"
DEPENDS += "rust-llvm"
# Avoid having the default bitbake.conf disable sub-make parallelization
EXTRA_OEMAKE = ""