summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-11-05 10:03:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-29 17:43:39 +0000
commit5125464811acedd66f9f06f77d43dec0659e5ac6 (patch)
treeb5175ee3673c7341364b1b5d066a1755548eb94d /meta/conf
parente0ce87bf85a43e8e4306dedc6e91f6bed4dd6740 (diff)
downloadpoky-5125464811acedd66f9f06f77d43dec0659e5ac6.tar.gz
machine/arch-riscv: Fix newlib and baremetal builds
Fix the following errors for newlib and baremetal libcs: ld: unrecognized option '--hash-style=sysv' ld: unrecognized option '--hash-style=gnu' (From OE-Core rev: 8ae998fa8dd216d008cc9ddbea98bbb945501e41) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/riscv/arch-riscv.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/machine/include/riscv/arch-riscv.inc b/meta/conf/machine/include/riscv/arch-riscv.inc
index 19f8f3e211..8ed9874389 100644
--- a/meta/conf/machine/include/riscv/arch-riscv.inc
+++ b/meta/conf/machine/include/riscv/arch-riscv.inc
@@ -8,3 +8,8 @@ TUNE_CCARGS .= ""
8 8
9# QEMU usermode fails with invalid instruction error (For riscv32) 9# QEMU usermode fails with invalid instruction error (For riscv32)
10MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32', ' qemu-usermode', '', d)}" 10MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32', ' qemu-usermode', '', d)}"
11
12# Fix: ld: unrecognized option '--hash-style=sysv'
13LINKER_HASH_STYLE_libc-newlib = ""
14# Fix: ld: unrecognized option '--hash-style=gnu'
15LINKER_HASH_STYLE_libc-baremetal = ""