浏览代码

machine/baremetal: Cleanup the baremetal code

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Alistair Francis 4 年之前
父节点
当前提交
7cbf8f7121
共有 2 个文件被更改,包括 0 次插入36 次删除
  1. 0 18
      conf/machine/baremetal-riscv32.conf
  2. 0 18
      conf/machine/baremetal-riscv64.conf

+ 0 - 18
conf/machine/baremetal-riscv32.conf

@@ -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 \
-"

+ 0 - 18
conf/machine/baremetal-riscv64.conf

@@ -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 \
-"