summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rust-common.bbclass1
-rw-r--r--meta/recipes-devtools/rust/rust-common.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass
index 2093654ac6..70f1ee0e3b 100644
--- a/meta/classes/rust-common.bbclass
+++ b/meta/classes/rust-common.bbclass
@@ -48,6 +48,7 @@ def target_is_armv7(d):
48 return False 48 return False
49 else: 49 else:
50 return True 50 return True
51target_is_armv7[vardepvalue] = "${@target_is_armv7(d)}"
51 52
52# Responsible for taking Yocto triples and converting it to Rust triples 53# Responsible for taking Yocto triples and converting it to Rust triples
53def rust_base_triple(d, thing): 54def rust_base_triple(d, thing):
diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc
index f574152815..153fa3aa97 100644
--- a/meta/recipes-devtools/rust/rust-common.inc
+++ b/meta/recipes-devtools/rust/rust-common.inc
@@ -70,6 +70,7 @@ def llvm_features_from_tune(d):
70 if ('riscv64' in feat) or ('riscv32' in feat): 70 if ('riscv64' in feat) or ('riscv32' in feat):
71 f.append("+a,+c,+d,+f,+m") 71 f.append("+a,+c,+d,+f,+m")
72 return f 72 return f
73llvm_features_from_tune[vardepvalue] = "${@llvm_features_from_tune(d)}"
73 74
74# TARGET_CC_ARCH changes from build/cross/target so it'll do the right thing 75# TARGET_CC_ARCH changes from build/cross/target so it'll do the right thing
75# this should go away when https://github.com/rust-lang/rust/pull/31709 is 76# this should go away when https://github.com/rust-lang/rust/pull/31709 is