Files
meta-riscv/conf/machine/freedom-u540.conf
Alistair Francis 8fe85e46f4 machine: freedom-u540: Don't set TCLIBC
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-17 09:48:19 -08:00

62 lines
1.4 KiB
Plaintext

#@TYPE: Machine
#@NAME: freedom-u540
#@SOC: Freedom U540
#@DESCRIPTION: Machine configuration for the HiFive Unleashed development board
require conf/machine/include/tune-riscv.inc
MACHINE_FEATURES = "screen keyboard ext2 ext3 serial"
KERNEL_IMAGETYPE = "vmlinux"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-riscv"
PREFERRED_VERSION_linux-riscv ?= "4.19%"
GDBVERSION = "riscv"
EXTRA_IMAGEDEPENDS += "riscv-pk"
SERIAL_CONSOLE = "115200 console"
MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
# The following options can be used to build images that use initramfs,
# since the SPI controller driver currently still has an issue, using this
# might speed up your boot process signifcantly
#
#RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin"
#INITRAMFS_IMAGE_BUNDLE = "1"
#INITRAMFS_IMAGE = "riscv-initramfs-image"
#KERNEL_INITRAMFS = '-initramfs'
RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin"
IMAGE_FSTYPES_append = " wic.gz ext4"
# Do not update fstab file when using wic images
WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
IMAGE_BOOT_FILES = ""
### wic default support
WKS_FILE_DEPENDS ?= " \
riscv-pk \
e2fsprogs-native \
bmap-tools-native \
"
WKS_FILE ?= "freedom-u540-bbl.wks"
BAD_RECOMMENDATIONS += "\
libcxx-dev \
libcxx-staticdev \
compiler-rt-dev \
compiler-rt-staticdev \
"
ASSUME_PROVIDED += "\
libcxx-dev \
libcxx-staticdev \
compiler-rt-dev \
compiler-rt-staticdev \
"