summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-14 11:58:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-17 21:53:14 +0000
commit3c9268f6a07bf5986162e0f4c84ef214d6e223b5 (patch)
tree1ba9c5633c16d91e58507c2b176bc512927ddcb9
parentc8bb402a3eaa97a415587848856d62819d268d4b (diff)
downloadpoky-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>
-rw-r--r--meta/conf/machine/include/riscv/arch-riscv.inc3
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}}"
7TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv64nf', ' -mabi=lp64', ' ', d)}" 7TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv64nf', ' -mabi=lp64', ' ', d)}"
8TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32nf', ' -mabi=ilp32', ' ', d)}" 8TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32nf', ' -mabi=ilp32', ' ', d)}"
9 9
10# QEMU usermode fails with invalid instruction error (For riscv32)
11MACHINE_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'
14LINKER_HASH_STYLE_libc-newlib = "" 11LINKER_HASH_STYLE_libc-newlib = ""
15# Fix: ld: unrecognized option '--hash-style=gnu' 12# Fix: ld: unrecognized option '--hash-style=gnu'