diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2019-12-19 13:24:10 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 23:39:10 +0000 |
| commit | cedd94f0c58e64f9d7d0cd540baf3f4fe5748489 (patch) | |
| tree | 2d4e5509575e937b8939b3c7a8f88bcb459d657e /meta/conf/machine/include/riscv/tune-riscv.inc | |
| parent | 4600ba62f1afd09ac10e138f11ac129d928810e5 (diff) | |
| download | poky-cedd94f0c58e64f9d7d0cd540baf3f4fe5748489.tar.gz | |
tune-riscv: Add support for no float
(From OE-Core rev: 5263b2ebc57fe289d64c74bfb10da39ed7c98828)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/riscv/tune-riscv.inc')
| -rw-r--r-- | meta/conf/machine/include/riscv/tune-riscv.inc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/meta/conf/machine/include/riscv/tune-riscv.inc b/meta/conf/machine/include/riscv/tune-riscv.inc index 25d0463492..741eeb34db 100644 --- a/meta/conf/machine/include/riscv/tune-riscv.inc +++ b/meta/conf/machine/include/riscv/tune-riscv.inc | |||
| @@ -3,10 +3,14 @@ require conf/machine/include/riscv/arch-riscv.inc | |||
| 3 | TUNEVALID[riscv64] = "Enable 64-bit RISC-V optimizations" | 3 | TUNEVALID[riscv64] = "Enable 64-bit RISC-V optimizations" |
| 4 | TUNEVALID[riscv32] = "Enable 32-bit RISC-V optimizations" | 4 | TUNEVALID[riscv32] = "Enable 32-bit RISC-V optimizations" |
| 5 | 5 | ||
| 6 | TUNEVALID[riscv64nf] = "Enable 64-bit RISC-V optimizations no floating point" | ||
| 7 | TUNEVALID[riscv32nf] = "Enable 32-bit RISC-V optimizations no floating point" | ||
| 8 | |||
| 6 | TUNEVALID[bigendian] = "Big endian mode" | 9 | TUNEVALID[bigendian] = "Big endian mode" |
| 7 | 10 | ||
| 8 | AVAILTUNES += "riscv64 riscv32" | 11 | AVAILTUNES += "riscv64 riscv32 riscv64nf riscv32nf" |
| 9 | 12 | ||
| 13 | # Default | ||
| 10 | TUNE_FEATURES_tune-riscv64 = "riscv64" | 14 | TUNE_FEATURES_tune-riscv64 = "riscv64" |
| 11 | TUNE_ARCH_tune-riscv64 = "riscv64" | 15 | TUNE_ARCH_tune-riscv64 = "riscv64" |
| 12 | TUNE_PKGARCH_tune-riscv64 = "riscv64" | 16 | TUNE_PKGARCH_tune-riscv64 = "riscv64" |
| @@ -17,3 +21,13 @@ TUNE_ARCH_tune-riscv32 = "riscv32" | |||
| 17 | TUNE_PKGARCH_tune-riscv32 = "riscv32" | 21 | TUNE_PKGARCH_tune-riscv32 = "riscv32" |
| 18 | PACKAGE_EXTRA_ARCHS_tune-riscv32 = "riscv32" | 22 | PACKAGE_EXTRA_ARCHS_tune-riscv32 = "riscv32" |
| 19 | 23 | ||
| 24 | # No float | ||
| 25 | TUNE_FEATURES_tune-riscv64nf = "${TUNE_FEATURES_tune-riscv64} riscv64nf" | ||
| 26 | TUNE_ARCH_tune-riscv64nf = "riscv64" | ||
| 27 | TUNE_PKGARCH_tune-riscv64nf = "riscv64" | ||
| 28 | PACKAGE_EXTRA_ARCHS_tune-riscv64nf = "riscv64nf" | ||
| 29 | |||
| 30 | TUNE_FEATURES_tune-riscv32nf = "${TUNE_FEATURES_tune-riscv32} riscv32nf" | ||
| 31 | TUNE_ARCH_tune-riscv32nf = "riscv32" | ||
| 32 | TUNE_PKGARCH_tune-riscv32nf = "riscv32" | ||
| 33 | PACKAGE_EXTRA_ARCHS_tune-riscv32nf = "riscv32nf" | ||
