diff options
Diffstat (limited to 'meta/conf/machine/include/arm/feature-arm-vfp.inc')
-rw-r--r-- | meta/conf/machine/include/arm/feature-arm-vfp.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/feature-arm-vfp.inc b/meta/conf/machine/include/arm/feature-arm-vfp.inc new file mode 100644 index 0000000000..29a925c3f0 --- /dev/null +++ b/meta/conf/machine/include/arm/feature-arm-vfp.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." | ||
2 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" | ||
3 | |||
4 | TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." | ||
5 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)}" | ||
6 | ARMPKGSFX_EABI .= "${@bb.utils.contains("TUNE_FEATURES", [ "callconvention-hard", "vfp" ], "hf", "", d)}" | ||