1*f3fd288eSBrad Bishop# RISCV Architecture definition
2*f3fd288eSBrad Bishop
3*f3fd288eSBrad BishopDEFAULTTUNE ?= "riscv64"
4*f3fd288eSBrad Bishop
5*f3fd288eSBrad BishopTUNE_ARCH = "${TUNE_ARCH_tune-${DEFAULTTUNE}}"
6*f3fd288eSBrad BishopTUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}"
7*f3fd288eSBrad BishopTUNE_CCARGS .= ""
8*f3fd288eSBrad Bishop
9*f3fd288eSBrad Bishop# QEMU usermode fails with invalid instruction error (For riscv32)
10*f3fd288eSBrad BishopMACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32', ' qemu-usermode', '', d)}"
11