Files
build/config/sources/riscv64.conf

20 lines
709 B
Plaintext

# 'common.conf' is already sourced when this arch is sourced.
export ARCH='riscv64'
export ARCHITECTURE='riscv'
export KERNEL_SRC_ARCH='riscv'
export QEMU_BINARY='qemu-riscv64-static'
export NAME_KERNEL='Image'
export NAME_INITRD='uInitrd'
export KERNEL_IMAGE_TYPE='Image'
export IMAGE_PARTITION_TABLE='gpt'
export SKIP_EXTERNAL_TOOLCHAINS='yes'
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER='riscv64-linux-gnu-'
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER='riscv64-linux-gnu-'
[[ -z $KERNEL_USE_GCC ]] && KERNEL_USE_GCC='> 8.0'
[[ -z $UBOOT_USE_GCC ]] && UBOOT_USE_GCC='> 8.0'
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=riscv
true # make sure to exit with 0 status; this protects against shortcircuits etc above.