mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-06 08:44:40 +02:00
machine/baremetal: Cleanup the baremetal code
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
committed by
Khem Raj
parent
a501ae452a
commit
7cbf8f7121
@@ -17,24 +17,6 @@ QB_ROOTFS_OPT = "-drive file=@ROOTFS@,format=raw,id=hd0 -device virtio-blk-devic
|
||||
QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::22222-:22"
|
||||
|
||||
# Prelink does not yet work
|
||||
|
||||
USER_CLASSES_remove = "image-prelink"
|
||||
# To support baremetal ld complains
|
||||
# /opt/riscv32/sysroots/x86_64-becsdk-linux/usr/libexec/riscv32-bec-elf/gcc/riscv32-bec-elf/7.3.0/real-ld: unrecognized option '--hash-style=gnu'
|
||||
#TARGET_LINK_HASH_STYLE = ""
|
||||
LINKER_HASH_STYLE = ""
|
||||
|
||||
TCLIBC = "baremetal"
|
||||
|
||||
BAD_RECOMMENDATIONS += "\
|
||||
libcxx-dev \
|
||||
libcxx-staticdev \
|
||||
compiler-rt-dev \
|
||||
compiler-rt-staticdev \
|
||||
"
|
||||
ASSUME_PROVIDED += "\
|
||||
libcxx-dev \
|
||||
libcxx-staticdev \
|
||||
compiler-rt-dev \
|
||||
compiler-rt-staticdev \
|
||||
"
|
||||
|
||||
@@ -17,24 +17,6 @@ QB_ROOTFS_OPT = "-drive file=@ROOTFS@,format=raw,id=hd0 -device virtio-blk-devic
|
||||
QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::22222-:22"
|
||||
|
||||
# Prelink does not yet work
|
||||
|
||||
USER_CLASSES_remove = "image-prelink"
|
||||
# To support baremetal ld complains
|
||||
# /opt/riscv32/sysroots/x86_64-becsdk-linux/usr/libexec/riscv32-bec-elf/gcc/riscv32-bec-elf/7.3.0/real-ld: unrecognized option '--hash-style=gnu'
|
||||
#TARGET_LINK_HASH_STYLE = ""
|
||||
LINKER_HASH_STYLE = ""
|
||||
|
||||
TCLIBC = "baremetal"
|
||||
|
||||
BAD_RECOMMENDATIONS += "\
|
||||
libcxx-dev \
|
||||
libcxx-staticdev \
|
||||
compiler-rt-dev \
|
||||
compiler-rt-staticdev \
|
||||
"
|
||||
ASSUME_PROVIDED += "\
|
||||
libcxx-dev \
|
||||
libcxx-staticdev \
|
||||
compiler-rt-dev \
|
||||
compiler-rt-staticdev \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user