diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-14 11:58:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-17 21:53:14 +0000 |
commit | 3c9268f6a07bf5986162e0f4c84ef214d6e223b5 (patch) | |
tree | 1ba9c5633c16d91e58507c2b176bc512927ddcb9 /meta/conf/machine | |
parent | c8bb402a3eaa97a415587848856d62819d268d4b (diff) | |
download | poky-3c9268f6a07bf5986162e0f4c84ef214d6e223b5.tar.gz |
arch-riscv: Enable qemu-usermode on rv32
Current version of Qemu in OE-core now works fine in rv32/user-mode the
said nvalid instruction errors are gone, so we can enable it now
(From OE-Core rev: f3fa54f91eef5b1b967a6a14b53a07de052dd17a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/riscv/arch-riscv.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/conf/machine/include/riscv/arch-riscv.inc b/meta/conf/machine/include/riscv/arch-riscv.inc index e3dbef7fe3..eae2b88778 100644 --- a/meta/conf/machine/include/riscv/arch-riscv.inc +++ b/meta/conf/machine/include/riscv/arch-riscv.inc | |||
@@ -7,9 +7,6 @@ TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | |||
7 | TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv64nf', ' -mabi=lp64', ' ', d)}" | 7 | TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv64nf', ' -mabi=lp64', ' ', d)}" |
8 | TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32nf', ' -mabi=ilp32', ' ', d)}" | 8 | TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32nf', ' -mabi=ilp32', ' ', d)}" |
9 | 9 | ||
10 | # QEMU usermode fails with invalid instruction error (For riscv32) | ||
11 | MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32', ' qemu-usermode', '', d)}" | ||
12 | |||
13 | # Fix: ld: unrecognized option '--hash-style=sysv' | 10 | # Fix: ld: unrecognized option '--hash-style=sysv' |
14 | LINKER_HASH_STYLE_libc-newlib = "" | 11 | LINKER_HASH_STYLE_libc-newlib = "" |
15 | # Fix: ld: unrecognized option '--hash-style=gnu' | 12 | # Fix: ld: unrecognized option '--hash-style=gnu' |