diff options
Diffstat (limited to 'meta/classes-recipe/rust-target-config.bbclass')
-rw-r--r-- | meta/classes-recipe/rust-target-config.bbclass | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 21a56ede3e..9aa1fc4da5 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass | |||
@@ -21,16 +21,18 @@ def llvm_features_from_tune(d): | |||
21 | 21 | ||
22 | if 'vfpv4' in feat: | 22 | if 'vfpv4' in feat: |
23 | f.append("+vfp4") | 23 | f.append("+vfp4") |
24 | if 'vfpv3' in feat: | 24 | elif 'vfpv3' in feat: |
25 | f.append("+vfp3") | 25 | f.append("+vfp3") |
26 | if 'vfpv3d16' in feat: | 26 | elif 'vfpv3d16' in feat: |
27 | f.append("+d16") | 27 | f.append("+vfp3") |
28 | 28 | f.append("-d32") | |
29 | if 'vfpv2' in feat or 'vfp' in feat: | 29 | elif 'vfpv2' in feat or 'vfp' in feat: |
30 | f.append("+vfp2") | 30 | f.append("+vfp2") |
31 | 31 | ||
32 | if 'neon' in feat: | 32 | if 'neon' in feat: |
33 | f.append("+neon") | 33 | f.append("+neon") |
34 | elif target_is_armv7(d): | ||
35 | f.append("-neon") | ||
34 | 36 | ||
35 | if 'mips32' in feat: | 37 | if 'mips32' in feat: |
36 | f.append("+mips32") | 38 | f.append("+mips32") |